Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 191.3 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 284.1 kB / 306.5 MB, free: 8.316 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.141/1.141, allocations: 180.9 MB / 0.53 GB, free: 14.54 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 98.34 kB / 0.7309 GB, free: 38.68 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1507, allocations: 94.2 MB / 0.8229 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001809/0.1525, allocations: 0.5959 MB / 0.8235 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002929/0.1528, allocations: 96.12 kB / 0.8235 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.1529, allocations: 0 / 0.8235 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1529, allocations: 0 / 0.8235 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.4e-05/0.1529, allocations: 3.938 kB / 0.8235 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1531, allocations: 19.98 kB / 0.8236 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.063e-05/0.1532, allocations: 11.92 kB / 0.8236 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.1532, allocations: 0 / 0.8236 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.675e-05/0.1532, allocations: 4 kB / 0.8236 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.853e-05/0.1533, allocations: 7.984 kB / 0.8236 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1533, allocations: 4 kB / 0.8236 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.009e-05/0.1534, allocations: 11.98 kB / 0.8236 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.1534, allocations: 4 kB / 0.8236 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.1534, allocations: 7.922 kB / 0.8236 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.666e-05/0.1535, allocations: 7.984 kB / 0.8236 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1535, allocations: 4 kB / 0.8236 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1535, allocations: 0 / 0.8236 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.1535, allocations: 3.938 kB / 0.8236 GB, free: 1.016 MB / 0.5606 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.0003156/0.1538, allocations: 242.4 kB / 0.8239 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1539, allocations: 12.02 kB / 0.8239 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.154, allocations: 12.92 kB / 0.8239 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.35e-05/0.1541, allocations: 102.5 kB / 0.824 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.1541, allocations: 4.375 kB / 0.824 GB, free: 0.5938 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1541, allocations: 8.375 kB / 0.824 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.1543, allocations: 34.25 kB / 0.824 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1543, allocations: 192 / 0.824 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1543, allocations: 3.938 kB / 0.824 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.1543, allocations: 4 kB / 0.824 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.1544, allocations: 15.98 kB / 0.8241 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000155/0.1545, allocations: 132.7 kB / 0.8242 GB, free: 360 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1547, allocations: 42.5 kB / 0.8242 GB, free: 308 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.1547, allocations: 12.91 kB / 0.8242 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.1547, allocations: 3.984 kB / 0.8242 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.1548, allocations: 38.56 kB / 0.8243 GB, free: 240 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 2.865e-06/0.1548, allocations: 7.922 kB / 0.8243 GB, free: 232 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002386/0.155, allocations: 65.55 kB / 0.8243 GB, free: 160 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.1551, allocations: 55.34 kB / 0.8244 GB, free: 92 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.1551, allocations: 89.86 kB / 0.8245 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1551, allocations: 25.7 kB / 0.8245 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.1552, allocations: 80.14 kB / 0.8246 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.1552, allocations: 7.953 kB / 0.8246 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.1552, allocations: 13.72 kB / 0.8246 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.1554, allocations: 314.8 kB / 0.8249 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.222e-05/0.1554, allocations: 12 kB / 0.8249 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.1554, allocations: 7.984 kB / 0.8249 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.794e-05/0.1555, allocations: 16.86 kB / 0.8249 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1555, allocations: 4 kB / 0.8249 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001179/0.1556, allocations: 53.61 kB / 0.825 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.1557, allocations: 4 kB / 0.825 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1557, allocations: 0 / 0.825 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1557, allocations: 3.938 kB / 0.825 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003885/0.1561, allocations: 43.94 kB / 0.825 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.1574, allocations: 1.301 MB / 0.8263 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.811e-05/0.1575, allocations: 0 / 0.8263 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1575, allocations: 4.031 kB / 0.8263 GB, free: 13.96 MB / 0.5762 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.27e-05/0.1576, allocations: 116.9 kB / 0.8264 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.885e-06/0.1576, allocations: 0 / 0.8264 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.438e-05/0.1576, allocations: 7.516 kB / 0.8264 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.02e-07/0.1576, allocations: 4 kB / 0.8264 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-07/0.1576, allocations: 0 / 0.8264 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.1576, allocations: 4.062 kB / 0.8264 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1577, allocations: 128.7 kB / 0.8266 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.1577, allocations: 3.984 kB / 0.8266 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003729/0.1581, allocations: 43.94 kB / 0.8266 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1581, allocations: 336 / 0.8266 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1581, allocations: 8 kB / 0.8266 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/0.1594, allocations: 1.305 MB / 0.8279 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1594, allocations: 0 / 0.8279 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.1595, allocations: 77.23 kB / 0.828 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.1595, allocations: 4 kB / 0.828 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.065e-06/0.1595, allocations: 7.875 kB / 0.828 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.655e-05/0.1596, allocations: 0 / 0.828 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.523e-05/0.1596, allocations: 7.938 kB / 0.828 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.1596, allocations: 3.984 kB / 0.828 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.1596, allocations: 75.28 kB / 0.8281 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1596, allocations: 0 / 0.8281 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001881/0.1598, allocations: 4 kB / 0.8281 GB, free: 11.99 MB / 0.5762 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001156/0.1599, allocations: 103.2 kB / 0.8282 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004644/0.1604, allocations: 55.86 kB / 0.8282 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1604, allocations: 4 kB / 0.8282 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002499/0.1606, allocations: 39.89 kB / 0.8283 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001257/0.1608, allocations: 7.938 kB / 0.8283 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.161, allocations: 96.97 kB / 0.8284 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1613, allocations: 0.6768 MB / 0.829 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.531e-05/0.1614, allocations: 4 kB / 0.829 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.1614, allocations: 11.44 kB / 0.829 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of SimCode: time 2.91e-07/0.1614, allocations: 0 / 0.829 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.002549/0.1639, allocations: 443.7 kB / 0.8295 GB, free: 10.5 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6182939214631915] Failed to read output from testmodel.py, exit status != 0: 0.17033573146909475 0.184298604 0.028079236 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0cbee597b0>