Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 111.3 kB / 17.08 MB, free: 5.816 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.001238/0.001238, allocations: 192.7 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7272/0.7272, allocations: 115.3 MB / 407.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1463, allocations: 76.19 MB / 0.6327 GB, free: 4.449 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.004482/0.1508, allocations: 2.479 MB / 0.6351 GB, free: 1.953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1524, allocations: 0.7829 MB / 0.6359 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.1526, allocations: 4 kB / 0.6359 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.1541, allocations: 0.5219 MB / 0.6364 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.1544, allocations: 107.5 kB / 0.6365 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1548, allocations: 103.7 kB / 0.6366 GB, free: 440 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003191/0.1551, allocations: 203.4 kB / 0.6368 GB, free: 236 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003994/0.1555, allocations: 166 kB / 0.637 GB, free: 60 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1557, allocations: 87.73 kB / 0.6371 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000265/0.156, allocations: 91.66 kB / 0.6371 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.156, allocations: 12 kB / 0.6371 GB, free: 15.87 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.1563, allocations: 107.7 kB / 0.6373 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.161e-05/0.1564, allocations: 55.88 kB / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.1565, allocations: 71.67 kB / 0.6374 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003716/0.1569, allocations: 219.3 kB / 0.6376 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.1569, allocations: 4 kB / 0.6376 GB, free: 15.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1569, allocations: 0 / 0.6376 GB, free: 15.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.282e-05/0.1569, allocations: 0 / 0.6376 GB, free: 15.42 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007935/0.1577, allocations: 447.3 kB / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1578, allocations: 11.97 kB / 0.638 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004173/0.1582, allocations: 48.69 kB / 0.6381 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.1585, allocations: 216.1 kB / 0.6383 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.1585, allocations: 16.66 kB / 0.6383 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.621e-05/0.1586, allocations: 12.38 kB / 0.6383 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003822/0.1589, allocations: 231.2 kB / 0.6385 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.159, allocations: 7.938 kB / 0.6385 GB, free: 14.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.159, allocations: 11.94 kB / 0.6385 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.69e-05/0.159, allocations: 12.28 kB / 0.6386 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002355/0.1593, allocations: 152.7 kB / 0.6387 GB, free: 14.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.1604, allocations: 1.127 MB / 0.6398 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.983e-05/0.1605, allocations: 38.58 kB / 0.6398 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.547e-05/0.1606, allocations: 20.94 kB / 0.6399 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.1606, allocations: 0 / 0.6399 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1606, allocations: 34.56 kB / 0.6399 GB, free: 12.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1606, allocations: 0 / 0.6399 GB, free: 12.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000214/0.1608, allocations: 77.45 kB / 0.64 GB, free: 12.72 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1609, allocations: 55.41 kB / 0.64 GB, free: 12.65 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.1611, allocations: 176.6 kB / 0.6402 GB, free: 12.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1611, allocations: 25.7 kB / 0.6402 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.1612, allocations: 143.4 kB / 0.6403 GB, free: 12.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-05/0.1612, allocations: 19.8 kB / 0.6404 GB, free: 12.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/0.1613, allocations: 25.72 kB / 0.6404 GB, free: 12.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1614, allocations: 326.8 kB / 0.6407 GB, free: 11.92 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.914e-05/0.1614, allocations: 24.84 kB / 0.6407 GB, free: 11.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.1616, allocations: 92.19 kB / 0.6408 GB, free: 11.77 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1617, allocations: 129.2 kB / 0.6409 GB, free: 11.61 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1617, allocations: 4 kB / 0.6409 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002158/0.1619, allocations: 133.5 kB / 0.6411 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.162, allocations: 4 kB / 0.6411 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.162, allocations: 4.047 kB / 0.6411 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.162, allocations: 11.92 kB / 0.6411 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.1621, allocations: 20.31 kB / 0.6411 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.1621, allocations: 15.92 kB / 0.6411 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.1622, allocations: 19.75 kB / 0.6411 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1622, allocations: 8 kB / 0.6411 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001094/0.1624, allocations: 124.1 kB / 0.6413 GB, free: 11.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.44e-05/0.1624, allocations: 85.44 kB / 0.6413 GB, free: 11.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001425/0.1626, allocations: 117.3 kB / 0.6415 GB, free: 11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.1626, allocations: 4 kB / 0.6415 GB, free: 10.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001961/0.1628, allocations: 133.6 kB / 0.6416 GB, free: 10.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1628, allocations: 10.06 kB / 0.6416 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1628, allocations: 4 kB / 0.6416 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.1628, allocations: 4 kB / 0.6416 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.1629, allocations: 31.92 kB / 0.6416 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.1629, allocations: 3.938 kB / 0.6416 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.46e-05/0.163, allocations: 7.938 kB / 0.6417 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.163, allocations: 8 kB / 0.6417 GB, free: 10.79 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (14): * Single equations (assignments): 14 * 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 0.0001055/0.1631, allocations: 192.1 kB / 0.6418 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.1632, allocations: 11.81 kB / 0.6419 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.673e-05/0.1632, allocations: 20.92 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1632, allocations: 3.938 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1632, allocations: 0 / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1633, allocations: 3.938 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004496/0.1637, allocations: 465.2 kB / 0.6423 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1637, allocations: 8.125 kB / 0.6423 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.1638, allocations: 7.938 kB / 0.6423 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.1638, allocations: 4 kB / 0.6423 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1638, allocations: 4 kB / 0.6423 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1638, allocations: 3.984 kB / 0.6424 GB, free: 9.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1638, allocations: 4 kB / 0.6424 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.164, allocations: 111.5 kB / 0.6425 GB, free: 9.855 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.1641, allocations: 100.9 kB / 0.6426 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.1641, allocations: 0 / 0.6426 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.1642, allocations: 0 / 0.6426 GB, free: 9.738 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.103e-05/0.1642, allocations: 4 kB / 0.6426 GB, free: 9.734 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1642, allocations: 0 / 0.6426 GB, free: 9.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1643, allocations: 133.6 kB / 0.6427 GB, free: 9.605 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 0.6427 GB, free: 9.605 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.1647, allocations: 59.78 kB / 0.6427 GB, free: 9.547 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001286/0.1649, allocations: 99.23 kB / 0.6428 GB, free: 9.438 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.1651, allocations: 112.7 kB / 0.6429 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1651, allocations: 0 / 0.6429 GB, free: 9.328 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.828e-05/0.1651, allocations: 24.12 kB / 0.643 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1654, allocations: 17.88 kB / 0.643 GB, free: 9.289 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005747/0.166, allocations: 300.9 kB / 0.6433 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1664, allocations: 0.7283 MB / 0.644 GB, free: 8.203 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.1664, allocations: 11.44 kB / 0.644 GB, free: 8.191 MB / 494.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1664, allocations: 0 / 0.644 GB, free: 8.191 MB / 494.1 MB Notification: Performance of Templates: time 0.003547/0.17, allocations: 1.47 MB / 0.6454 GB, free: 6.727 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor.pipe 2>&1)