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.001213/0.001213, allocations: 121.6 kB / 17.09 MB, free: 6.012 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.001235/0.001236, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.377/1.377, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7595/0.7595, allocations: 115.3 MB / 407.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 68.14 kB / 0.5583 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1498, allocations: 76.18 MB / 0.6327 GB, free: 4.43 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Sensors.Examples.GeneralizedSensor): time 0.005103/0.155, allocations: 2.488 MB / 0.6351 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.1568, allocations: 0.7751 MB / 0.6359 GB, free: 1.148 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.157, allocations: 7.938 kB / 0.6359 GB, free: 1.141 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.1585, allocations: 0.5324 MB / 0.6364 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1589, allocations: 103.5 kB / 0.6365 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.1593, allocations: 111.7 kB / 0.6366 GB, free: 404 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00035/0.1597, allocations: 191.4 kB / 0.6368 GB, free: 212 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004678/0.1602, allocations: 166.1 kB / 0.637 GB, free: 36 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1604, allocations: 79.7 kB / 0.637 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.1607, allocations: 95.64 kB / 0.6371 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.15e-05/0.1607, allocations: 16 kB / 0.6372 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002648/0.161, allocations: 103.8 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.14e-05/0.1611, allocations: 59.86 kB / 0.6373 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1612, allocations: 75.55 kB / 0.6374 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005479/0.1618, allocations: 219.4 kB / 0.6376 GB, free: 15.4 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1618, allocations: 3.938 kB / 0.6376 GB, free: 15.39 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1618, allocations: 0 / 0.6376 GB, free: 15.39 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1618, allocations: 0 / 0.6376 GB, free: 15.39 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.000808/0.1627, allocations: 443.3 kB / 0.638 GB, free: 14.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1627, allocations: 8.031 kB / 0.638 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005345/0.1633, allocations: 48.7 kB / 0.6381 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.1636, allocations: 224 kB / 0.6383 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.1636, allocations: 12.66 kB / 0.6383 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1637, allocations: 16.36 kB / 0.6383 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.1641, allocations: 239.2 kB / 0.6385 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1642, allocations: 0 / 0.6385 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.1642, allocations: 0 / 0.6385 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.764e-05/0.1643, allocations: 24.27 kB / 0.6386 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.1646, allocations: 144.7 kB / 0.6387 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/0.1659, allocations: 1.127 MB / 0.6398 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1661, allocations: 46.5 kB / 0.6398 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.1661, allocations: 16.86 kB / 0.6399 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1661, allocations: 0 / 0.6399 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.1662, allocations: 34.64 kB / 0.6399 GB, free: 12.78 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1662, allocations: 0 / 0.6399 GB, free: 12.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002681/0.1665, allocations: 77.53 kB / 0.64 GB, free: 12.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.287e-05/0.1665, allocations: 59.34 kB / 0.64 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1667, allocations: 172.6 kB / 0.6402 GB, free: 12.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1667, allocations: 25.7 kB / 0.6402 GB, free: 12.42 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.1668, allocations: 143.4 kB / 0.6403 GB, free: 12.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1668, allocations: 15.81 kB / 0.6404 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.1669, allocations: 29.7 kB / 0.6404 GB, free: 12.22 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1671, allocations: 318.8 kB / 0.6407 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.474e-05/0.1671, allocations: 32.84 kB / 0.6407 GB, free: 11.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.124e-05/0.1672, allocations: 93.36 kB / 0.6408 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001385/0.1674, allocations: 129.2 kB / 0.6409 GB, free: 11.58 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1674, allocations: 0 / 0.6409 GB, free: 11.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002136/0.1676, allocations: 129.4 kB / 0.6411 GB, free: 11.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1676, allocations: 8 kB / 0.6411 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1676, allocations: 0 / 0.6411 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1676, allocations: 8.25 kB / 0.6411 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.1678, allocations: 35.86 kB / 0.6411 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1678, allocations: 4 kB / 0.6411 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.784e-05/0.1679, allocations: 15.75 kB / 0.6411 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.1679, allocations: 12 kB / 0.6411 GB, free: 11.37 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000102/0.168, allocations: 124.1 kB / 0.6413 GB, free: 11.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.886e-05/0.1681, allocations: 93.38 kB / 0.6414 GB, free: 11.12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001241/0.1682, allocations: 125.5 kB / 0.6415 GB, free: 10.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.1682, allocations: 0 / 0.6415 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=14) (initialization_lambda0): time 0.0001914/0.1684, allocations: 137.6 kB / 0.6416 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1684, allocations: 10.02 kB / 0.6416 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1684, allocations: 4 kB / 0.6416 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.1685, allocations: 4 kB / 0.6416 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.1685, allocations: 23.94 kB / 0.6416 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1685, allocations: 11.92 kB / 0.6417 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.1686, allocations: 11.94 kB / 0.6417 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1686, allocations: 4 kB / 0.6417 GB, free: 10.75 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 9.737e-05/0.1687, allocations: 184.3 kB / 0.6418 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.484e-05/0.1688, allocations: 15.81 kB / 0.6419 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.1688, allocations: 16.88 kB / 0.6419 GB, free: 10.53 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1688, allocations: 3.938 kB / 0.6419 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1688, allocations: 0 / 0.6419 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1688, allocations: 0 / 0.6419 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.1693, allocations: 473.2 kB / 0.6423 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.1693, allocations: 3.938 kB / 0.6423 GB, free: 9.988 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.476e-05/0.1693, allocations: 8 kB / 0.6423 GB, free: 9.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1693, allocations: 4 kB / 0.6423 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1694, allocations: 0 / 0.6423 GB, free: 9.977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1694, allocations: 3.938 kB / 0.6423 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1694, allocations: 4 kB / 0.6424 GB, free: 9.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.1695, allocations: 115.6 kB / 0.6425 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.606e-05/0.1696, allocations: 88.92 kB / 0.6425 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.1696, allocations: 0 / 0.6425 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.1696, allocations: 4 kB / 0.6426 GB, free: 9.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/0.1697, allocations: 11.92 kB / 0.6426 GB, free: 9.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1697, allocations: 4 kB / 0.6426 GB, free: 9.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.1698, allocations: 125.6 kB / 0.6427 GB, free: 9.582 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.92e-07/0.1698, allocations: 4 kB / 0.6427 GB, free: 9.578 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.1702, allocations: 55.78 kB / 0.6427 GB, free: 9.523 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.0001485/0.1704, allocations: 95.25 kB / 0.6428 GB, free: 9.418 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1707, allocations: 112.9 kB / 0.6429 GB, free: 9.309 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/0.1707, allocations: 4 kB / 0.6429 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.581e-05/0.1707, allocations: 19.98 kB / 0.643 GB, free: 9.285 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1711, allocations: 21.81 kB / 0.643 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007/0.1718, allocations: 307.4 kB / 0.6433 GB, free: 8.93 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.1722, allocations: 0.7244 MB / 0.644 GB, free: 8.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.1723, allocations: 15.42 kB / 0.644 GB, free: 8.164 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1723, allocations: 0 / 0.644 GB, free: 8.164 MB / 494.1 MB Notification: Performance of Templates: time 0.004198/0.1765, allocations: 1.465 MB / 0.6454 GB, free: 6.703 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)