Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004996/0.004996, allocations: 96.84 kB / 15.73 MB, free: 5.59 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.001047/0.001047, allocations: 196.7 kB / 16.67 MB, free: 5.523 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.242/1.242, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 251.7 MB / 0.5094 GB, free: 392 kB / 430.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: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 67.91 kB / 0.7258 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4798/0.4813, allocations: 104.7 MB / 0.828 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002236/0.4836, allocations: 1.437 MB / 0.8294 GB, free: 1.16 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0006402/0.4842, allocations: 381.7 kB / 0.8298 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.884e-05/0.4843, allocations: 0 / 0.8298 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.4843, allocations: 0 / 0.8298 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.4843, allocations: 11.92 kB / 0.8298 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.4847, allocations: 115.5 kB / 0.8299 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.4848, allocations: 27.86 kB / 0.83 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 7.368e-05/0.4849, allocations: 8 kB / 0.83 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.699e-05/0.4849, allocations: 11.98 kB / 0.83 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.4849, allocations: 15.92 kB / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.485, allocations: 0 / 0.83 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003428/0.4853, allocations: 271.7 kB / 0.8303 GB, free: 340 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 1.343e-05/0.4853, allocations: 8 kB / 0.8303 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.628e-05/0.4854, allocations: 11.92 kB / 0.8303 GB, free: 320 kB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.4855, allocations: 108.3 kB / 0.8304 GB, free: 220 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4856, allocations: 0 / 0.8304 GB, free: 220 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4856, allocations: 0 / 0.8304 GB, free: 220 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.028e-06/0.4856, allocations: 4 kB / 0.8304 GB, free: 216 kB / 0.6231 GB 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.0004411/0.486, allocations: 367.1 kB / 0.8307 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.4861, allocations: 12.03 kB / 0.8307 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.4861, allocations: 4.875 kB / 0.8307 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.4862, allocations: 168.3 kB / 0.8309 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.362e-06/0.4862, allocations: 4.312 kB / 0.8309 GB, free: 15.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.4862, allocations: 4.375 kB / 0.8309 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.4864, allocations: 50.23 kB / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.4864, allocations: 192 / 0.831 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.4864, allocations: 7.938 kB / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.4864, allocations: 0 / 0.831 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.4866, allocations: 35.95 kB / 0.831 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.4869, allocations: 256.9 kB / 0.8312 GB, free: 15.18 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.487, allocations: 42.5 kB / 0.8313 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.695e-05/0.4871, allocations: 20.91 kB / 0.8313 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.4877, allocations: 461.5 kB / 0.8317 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.4877, allocations: 30.56 kB / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.4877, allocations: 0 / 0.8318 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0003144/0.488, allocations: 85.58 kB / 0.8319 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.488, allocations: 51.41 kB / 0.8319 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.4881, allocations: 106 kB / 0.832 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4882, allocations: 25.7 kB / 0.832 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/0.4882, allocations: 92.12 kB / 0.8321 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.333e-05/0.4882, allocations: 3.953 kB / 0.8321 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.4883, allocations: 17.72 kB / 0.8321 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4884, allocations: 310.8 kB / 0.8324 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.4885, allocations: 19.92 kB / 0.8325 GB, free: 13.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.64e-05/0.4886, allocations: 23.97 kB / 0.8325 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.4887, allocations: 32.83 kB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4887, allocations: 4 kB / 0.8325 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001823/0.4889, allocations: 77.53 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.4889, allocations: 4 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.4889, allocations: 4.094 kB / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4889, allocations: 0 / 0.8326 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.088e-05/0.489, allocations: 11.98 kB / 0.8326 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.489, allocations: 0 / 0.8326 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.4891, allocations: 7.953 kB / 0.8326 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4891, allocations: 0 / 0.8326 GB, free: 13.6 MB / 0.6387 GB 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 5.869e-05/0.4891, allocations: 113.8 kB / 0.8327 GB, free: 13.48 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.4892, allocations: 7.938 kB / 0.8327 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.4894, allocations: 85.08 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4894, allocations: 0 / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4894, allocations: 256 / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4894, allocations: 3.984 kB / 0.8328 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.4896, allocations: 169.6 kB / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.4896, allocations: 0 / 0.833 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.721e-05/0.4896, allocations: 12 kB / 0.833 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4896, allocations: 3.984 kB / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.4897, allocations: 4.031 kB / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4897, allocations: 0 / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4897, allocations: 0 / 0.833 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.4899, allocations: 163.5 kB / 0.8332 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.647e-05/0.4899, allocations: 81.06 kB / 0.8332 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.34e-05/0.4899, allocations: 4 kB / 0.8332 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.594e-05/0.49, allocations: 8.031 kB / 0.8332 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.4901, allocations: 3.984 kB / 0.8332 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-06/0.4901, allocations: 4 kB / 0.8332 GB, free: 12.85 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.265e-05/0.4901, allocations: 83.22 kB / 0.8333 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4901, allocations: 0 / 0.8333 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002096/0.4903, allocations: 19.94 kB / 0.8333 GB, free: 12.75 MB / 0.6387 GB 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.0001383/0.4905, allocations: 108.3 kB / 0.8335 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0001895/0.4907, allocations: 39.97 kB / 0.8335 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.4907, allocations: 0 / 0.8335 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 7.813e-05/0.4908, allocations: 23.97 kB / 0.8335 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.491, allocations: 3.938 kB / 0.8335 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002183/0.4912, allocations: 101.5 kB / 0.8336 GB, free: 12.44 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.4914, allocations: 0.6923 MB / 0.8343 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 2.128e-05/0.4914, allocations: 0 / 0.8343 GB, free: 11.72 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.694e-05/0.4915, allocations: 7.438 kB / 0.8343 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of SimCode: time 2.4e-07/0.4915, allocations: 0 / 0.8343 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of Templates: time 0.002496/0.494, allocations: 0.7156 MB / 0.835 GB, free: 11 MB / 0.6387 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)