Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7287/0.7287, allocations: 140 MB / 156 MB, free: 8.402 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000961/0.000961, allocations: 179.6 kB / 188.5 MB, free: 8.996 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.4 MB / 426.3 MB, free: 8.133 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008196/0.0008194, allocations: 90.28 kB / 0.4945 GB, free: 8.062 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001548/0.001548, allocations: 262.4 kB / 0.5728 GB, free: 66.13 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007174/0.0007175, allocations: 16 kB / 0.662 GB, free: 6.715 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3747, allocations: 79.3 MB / 0.7395 GB, free: 46.29 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.511, allocations: 107.7 MB / 0.8447 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5112, allocations: 83.94 kB / 0.8448 GB, free: 2.312 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01248/0.5237, allocations: 4.352 MB / 0.849 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.104e-06/0.5238, allocations: 0 / 0.849 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.5238, allocations: 4 kB / 0.849 GB, free: 13.95 MB / 0.5261 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.0004832/0.5243, allocations: 371.4 kB / 0.8494 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.5244, allocations: 11.97 kB / 0.8494 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.139e-05/0.5244, allocations: 4.875 kB / 0.8494 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001169/0.5246, allocations: 172.3 kB / 0.8496 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.5246, allocations: 384 / 0.8496 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.5246, allocations: 384 / 0.8496 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.5248, allocations: 58.23 kB / 0.8496 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.5248, allocations: 4.188 kB / 0.8496 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5248, allocations: 3.938 kB / 0.8496 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5248, allocations: 0 / 0.8496 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.525, allocations: 43.95 kB / 0.8497 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/0.5254, allocations: 272.9 kB / 0.8499 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.5256, allocations: 46.5 kB / 0.85 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.331e-05/0.5256, allocations: 28.91 kB / 0.85 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005771/0.5262, allocations: 461.4 kB / 0.8504 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5263, allocations: 34.56 kB / 0.8505 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.5263, allocations: 0 / 0.8505 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.5267, allocations: 105.7 kB / 0.8506 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.5267, allocations: 51.41 kB / 0.8506 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.5268, allocations: 105.8 kB / 0.8507 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.5268, allocations: 25.7 kB / 0.8507 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.5269, allocations: 84.14 kB / 0.8508 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.5269, allocations: 15.83 kB / 0.8508 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.5269, allocations: 0 / 0.8508 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.527, allocations: 310.8 kB / 0.8511 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.512e-05/0.5271, allocations: 28.02 kB / 0.8512 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.855e-05/0.5272, allocations: 15.98 kB / 0.8512 GB, free: 11.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.5273, allocations: 56.88 kB / 0.8512 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.5274, allocations: 0 / 0.8512 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002064/0.5276, allocations: 85.55 kB / 0.8513 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5276, allocations: 6.188 kB / 0.8513 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5276, allocations: 7.984 kB / 0.8513 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.5276, allocations: 0 / 0.8513 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.895e-05/0.5277, allocations: 8 kB / 0.8513 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.5277, allocations: 0 / 0.8513 GB, free: 11.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.733e-05/0.5278, allocations: 7.984 kB / 0.8513 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5278, allocations: 4 kB / 0.8513 GB, free: 11.26 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.5279, allocations: 113.8 kB / 0.8515 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.5279, allocations: 7.906 kB / 0.8515 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002239/0.5282, allocations: 89.36 kB / 0.8515 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.5282, allocations: 4.031 kB / 0.8516 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5282, allocations: 4 kB / 0.8516 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5282, allocations: 0 / 0.8516 GB, free: 11.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001526/0.5284, allocations: 165.5 kB / 0.8517 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5284, allocations: 4 kB / 0.8517 GB, free: 10.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.127e-05/0.5284, allocations: 15.98 kB / 0.8517 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5285, allocations: 0 / 0.8517 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.5285, allocations: 0 / 0.8517 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5285, allocations: 3.938 kB / 0.8517 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.5285, allocations: 4 kB / 0.8517 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.5288, allocations: 171.5 kB / 0.8519 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.5288, allocations: 81.02 kB / 0.852 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.5288, allocations: 8.031 kB / 0.852 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.5289, allocations: 11.98 kB / 0.852 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.108e-05/0.529, allocations: 3.984 kB / 0.852 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.529, allocations: 3.984 kB / 0.852 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.072e-05/0.529, allocations: 87.22 kB / 0.8521 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.529, allocations: 0 / 0.8521 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002257/0.5293, allocations: 20 kB / 0.8521 GB, free: 10.38 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.5295, allocations: 123.2 kB / 0.8522 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001978/0.5297, allocations: 43.97 kB / 0.8523 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5297, allocations: 0 / 0.8523 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.341e-05/0.5298, allocations: 28.05 kB / 0.8523 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.53, allocations: 11.92 kB / 0.8523 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.5304, allocations: 108.7 kB / 0.8524 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002431/0.5306, allocations: 0.677 MB / 0.8531 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.667e-05/0.5307, allocations: 0 / 0.8531 GB, free: 9.324 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.5307, allocations: 15.5 kB / 0.8531 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.5307, allocations: 0 / 0.8531 GB, free: 9.312 MB / 0.5261 GB Notification: Performance of Templates: time 0.002749/0.5334, allocations: 0.6067 MB / 0.8537 GB, free: 8.707 MB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)