Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 191.3 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.1 MB / 222 MB, free: 4.773 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6186/0.6186, allocations: 95.48 MB / 364.8 MB, free: 10.07 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 72.47 kB / 444.7 MB, free: 10.06 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 69.08 MB / 0.5017 GB, free: 17.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002433/0.3312, allocations: 1.457 MB / 0.5031 GB, free: 16.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005733/0.3318, allocations: 383.3 kB / 0.5035 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.426e-05/0.3318, allocations: 0 / 0.5035 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.3319, allocations: 4 kB / 0.5035 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.855e-05/0.3319, allocations: 3.938 kB / 0.5035 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002819/0.3322, allocations: 75.84 kB / 0.5036 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.644e-05/0.3323, allocations: 19.94 kB / 0.5036 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.3323, allocations: 8 kB / 0.5036 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.558e-05/0.3324, allocations: 7.922 kB / 0.5036 GB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.269e-05/0.3324, allocations: 11.98 kB / 0.5036 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.188e-05/0.3324, allocations: 8 kB / 0.5036 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002331/0.3327, allocations: 227.7 kB / 0.5038 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.3327, allocations: 7.922 kB / 0.5038 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.3327, allocations: 11.94 kB / 0.5039 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.3329, allocations: 111.8 kB / 0.504 GB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3329, allocations: 0 / 0.504 GB, free: 15.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3329, allocations: 0 / 0.504 GB, free: 15.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.3329, allocations: 0 / 0.504 GB, free: 15.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003651/0.3333, allocations: 361.5 kB / 0.5043 GB, free: 15.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.3333, allocations: 19.98 kB / 0.5043 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.3334, allocations: 8.844 kB / 0.5043 GB, free: 15.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.3335, allocations: 172.3 kB / 0.5045 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3335, allocations: 384 / 0.5045 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.007e-05/0.3335, allocations: 7.875 kB / 0.5045 GB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.3337, allocations: 49.67 kB / 0.5046 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.3337, allocations: 0 / 0.5046 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3337, allocations: 0 / 0.5046 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3337, allocations: 0 / 0.5046 GB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.3339, allocations: 35.97 kB / 0.5046 GB, free: 14.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002329/0.3341, allocations: 256.9 kB / 0.5048 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.3342, allocations: 38.5 kB / 0.5049 GB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.3343, allocations: 24.89 kB / 0.5049 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/0.3348, allocations: 457.5 kB / 0.5053 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3349, allocations: 30.56 kB / 0.5054 GB, free: 13.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3349, allocations: 4 kB / 0.5054 GB, free: 13.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003255/0.3352, allocations: 89.48 kB / 0.5055 GB, free: 13.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.3352, allocations: 55.41 kB / 0.5055 GB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.467e-05/0.3353, allocations: 101.8 kB / 0.5056 GB, free: 13.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.624e-06/0.3353, allocations: 25.7 kB / 0.5056 GB, free: 13.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.3354, allocations: 88.14 kB / 0.5057 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.489e-05/0.3354, allocations: 8.031 kB / 0.5057 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.3354, allocations: 17.66 kB / 0.5057 GB, free: 13.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.886e-05/0.3355, allocations: 322.8 kB / 0.506 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.762e-05/0.3355, allocations: 11.98 kB / 0.5061 GB, free: 13.08 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.3356, allocations: 19.98 kB / 0.5061 GB, free: 13.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000132/0.3358, allocations: 44.88 kB / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3358, allocations: 0 / 0.5061 GB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000178/0.3359, allocations: 65.61 kB / 0.5062 GB, free: 12.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.336, allocations: 4 kB / 0.5062 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.336, allocations: 0 / 0.5062 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.336, allocations: 0 / 0.5062 GB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.3361, allocations: 11.98 kB / 0.5062 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.3361, allocations: 4.016 kB / 0.5062 GB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.3361, allocations: 15.98 kB / 0.5062 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.3362, allocations: 0 / 0.5062 GB, free: 12.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.3362, allocations: 109.8 kB / 0.5063 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.3363, allocations: 11.89 kB / 0.5063 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002092/0.3365, allocations: 77.14 kB / 0.5064 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3365, allocations: 4.031 kB / 0.5064 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3365, allocations: 0 / 0.5064 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3365, allocations: 7.922 kB / 0.5064 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.3366, allocations: 157.6 kB / 0.5066 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3366, allocations: 256 / 0.5066 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.283e-05/0.3367, allocations: 15.98 kB / 0.5066 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3367, allocations: 0 / 0.5066 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3367, allocations: 3.938 kB / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3367, allocations: 0 / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3367, allocations: 0 / 0.5066 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.337, allocations: 171.5 kB / 0.5067 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.245e-05/0.337, allocations: 81.05 kB / 0.5068 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.337, allocations: 0 / 0.5068 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.943e-05/0.3371, allocations: 7.984 kB / 0.5068 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3371, allocations: 0 / 0.5068 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3371, allocations: 4 kB / 0.5068 GB, free: 12.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.98e-05/0.3372, allocations: 91.3 kB / 0.5069 GB, free: 12.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3372, allocations: 0 / 0.5069 GB, free: 12.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3374, allocations: 15.94 kB / 0.5069 GB, free: 12.07 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001624/0.3376, allocations: 119.1 kB / 0.5071 GB, free: 11.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3378, allocations: 39.95 kB / 0.5071 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.3378, allocations: 0 / 0.5071 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.69e-05/0.3379, allocations: 20.05 kB / 0.5071 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.3382, allocations: 8 kB / 0.5071 GB, free: 11.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003191/0.3386, allocations: 111.2 kB / 0.5072 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.3387, allocations: 0.677 MB / 0.5079 GB, free: 11.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.793e-05/0.3387, allocations: 7.938 kB / 0.5079 GB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.3388, allocations: 11.5 kB / 0.5079 GB, free: 11.01 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3388, allocations: 0 / 0.5079 GB, free: 11.01 MB / 382.1 MB Notification: Performance of Templates: time 0.003153/0.3419, allocations: 0.637 MB / 0.5085 GB, free: 10.38 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)