Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001197/0.001197, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001235/0.001235, allocations: 189.3 kB / 22.98 MB, free: 5.004 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.305/1.305, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8823/0.8823, allocations: 149.6 MB / 456.6 MB, free: 1.176 MB / 350.1 MB " [Timeout remaining time 179] 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.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.08 kB / 0.6328 GB, free: 8.949 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1607, allocations: 87.88 MB / 0.7187 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004742/0.1654, allocations: 3.18 MB / 0.7218 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.1682, allocations: 1.776 MB / 0.7235 GB, free: 12.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1684, allocations: 7.938 kB / 0.7235 GB, free: 12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.1694, allocations: 350.7 kB / 0.7238 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.1698, allocations: 211 kB / 0.724 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.1702, allocations: 187.4 kB / 0.7242 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.1706, allocations: 315 kB / 0.7245 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.1709, allocations: 161.1 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.1711, allocations: 143.5 kB / 0.7248 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000322/0.1715, allocations: 167.4 kB / 0.725 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.276e-05/0.1715, allocations: 20 kB / 0.725 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003742/0.1719, allocations: 255.5 kB / 0.7252 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.172, allocations: 107.7 kB / 0.7253 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1721, allocations: 115.5 kB / 0.7255 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005156/0.1726, allocations: 426.5 kB / 0.7259 GB, free: 9.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1726, allocations: 3.938 kB / 0.7259 GB, free: 9.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1726, allocations: 0 / 0.7259 GB, free: 9.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.1726, allocations: 0 / 0.7259 GB, free: 9.586 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009335/0.1736, allocations: 489.4 kB / 0.7263 GB, free: 9.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1736, allocations: 8.625 kB / 0.7263 GB, free: 9.066 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/0.1743, allocations: 92.69 kB / 0.7264 GB, free: 8.977 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.1746, allocations: 208.3 kB / 0.7266 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.1747, allocations: 12.81 kB / 0.7266 GB, free: 8.738 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.128e-05/0.1748, allocations: 32.55 kB / 0.7267 GB, free: 8.707 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.1753, allocations: 364.7 kB / 0.727 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.1754, allocations: 7.938 kB / 0.727 GB, free: 8.324 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.1754, allocations: 15.97 kB / 0.727 GB, free: 8.309 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.044e-05/0.1755, allocations: 32.41 kB / 0.7271 GB, free: 8.277 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.176, allocations: 301.5 kB / 0.7274 GB, free: 7.98 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.1777, allocations: 1.491 MB / 0.7288 GB, free: 6.348 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/0.1782, allocations: 214.3 kB / 0.729 GB, free: 6.129 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.1783, allocations: 108.8 kB / 0.7291 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.933e-05/0.1784, allocations: 4 kB / 0.7291 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1784, allocations: 38.56 kB / 0.7292 GB, free: 5.969 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1784, allocations: 0 / 0.7292 GB, free: 5.969 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001195/0.1796, allocations: 0.7274 MB / 0.7299 GB, free: 5.211 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.1797, allocations: 55.41 kB / 0.7299 GB, free: 5.145 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1799, allocations: 194.8 kB / 0.7301 GB, free: 4.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.1799, allocations: 29.7 kB / 0.7301 GB, free: 4.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.18, allocations: 164.2 kB / 0.7303 GB, free: 4.742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.1801, allocations: 71.41 kB / 0.7304 GB, free: 4.672 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.768e-05/0.1802, allocations: 53.66 kB / 0.7304 GB, free: 4.613 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.1803, allocations: 338.8 kB / 0.7307 GB, free: 4.273 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.1805, allocations: 115.9 kB / 0.7308 GB, free: 4.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.1807, allocations: 166.9 kB / 0.731 GB, free: 3.977 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003985/0.1811, allocations: 305.1 kB / 0.7313 GB, free: 3.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1811, allocations: 3.984 kB / 0.7313 GB, free: 3.656 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007424/0.1819, allocations: 414 kB / 0.7317 GB, free: 3.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.1819, allocations: 4 kB / 0.7317 GB, free: 3.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1819, allocations: 4 kB / 0.7317 GB, free: 3.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.1823, allocations: 100.8 kB / 0.7318 GB, free: 3.133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.1825, allocations: 51.97 kB / 0.7319 GB, free: 3.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.1844, allocations: 1.776 MB / 0.7336 GB, free: 1.191 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.1846, allocations: 20.14 kB / 0.7336 GB, free: 1.172 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.1846, allocations: 15.98 kB / 0.7336 GB, free: 1.156 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.1848, allocations: 157.8 kB / 0.7338 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.484e-05/0.1848, allocations: 19.91 kB / 0.7338 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.1853, allocations: 301.6 kB / 0.7341 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1853, allocations: 0 / 0.7341 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-06/0.1853, allocations: 4 kB / 0.7341 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1853, allocations: 7.922 kB / 0.7341 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.1862, allocations: 0.6748 MB / 0.7347 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1862, allocations: 0 / 0.7347 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1865, allocations: 63.89 kB / 0.7348 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1865, allocations: 0 / 0.7348 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1865, allocations: 7.938 kB / 0.7348 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.1866, allocations: 0 / 0.7348 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.1866, allocations: 4 kB / 0.7348 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006251/0.1872, allocations: 0.5088 MB / 0.7353 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/0.1873, allocations: 39.81 kB / 0.7354 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.1873, allocations: 8 kB / 0.7354 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.1875, allocations: 7.984 kB / 0.7354 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.287e-05/0.1875, allocations: 23.91 kB / 0.7354 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.1875, allocations: 4 kB / 0.7354 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001382/0.1877, allocations: 148 kB / 0.7355 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1877, allocations: 4.062 kB / 0.7355 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003259/0.188, allocations: 64 kB / 0.7356 GB, free: 15.03 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.0001427/0.1881, allocations: 107.2 kB / 0.7357 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.1888, allocations: 414.7 kB / 0.7361 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1888, allocations: 4.125 kB / 0.7361 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.189, allocations: 115.8 kB / 0.7362 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.1893, allocations: 56.75 kB / 0.7363 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/0.1904, allocations: 0.6238 MB / 0.7369 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.1908, allocations: 0.7714 MB / 0.7376 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001504/0.191, allocations: 57.84 kB / 0.7377 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.431e-05/0.191, allocations: 27.42 kB / 0.7377 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.191, allocations: 0 / 0.7377 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of Templates: time 0.006312/0.1973, allocations: 2.999 MB / 0.7406 GB, free: 9.809 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4164102897048] Failed to read output from testmodel.py, exit status != 0: 0.20531815011054277 0.471866202 0.296471325 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f13eb8617b0>