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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 208.5 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9572/0.9572, allocations: 150 MB / 463.9 MB, free: 10.53 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.42 kB / 0.6425 GB, free: 9.945 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1589, allocations: 89.16 MB / 0.7296 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004967/0.1639, allocations: 3.196 MB / 0.7327 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1669, allocations: 1.819 MB / 0.7345 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.167, allocations: 4 kB / 0.7345 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001041/0.1681, allocations: 342.6 kB / 0.7348 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005074/0.1686, allocations: 219.1 kB / 0.735 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004761/0.1691, allocations: 183.4 kB / 0.7352 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004032/0.1695, allocations: 319 kB / 0.7355 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003527/0.1698, allocations: 180.9 kB / 0.7357 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002569/0.1701, allocations: 143.6 kB / 0.7358 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.1704, allocations: 175.4 kB / 0.736 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.1704, allocations: 20 kB / 0.736 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004122/0.1708, allocations: 255.5 kB / 0.7362 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001181/0.171, allocations: 103.7 kB / 0.7363 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1711, allocations: 119.4 kB / 0.7364 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005489/0.1717, allocations: 430.5 kB / 0.7368 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1717, allocations: 0 / 0.7368 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1717, allocations: 0 / 0.7368 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.1717, allocations: 0 / 0.7368 GB, free: 9.348 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009624/0.1726, allocations: 493.3 kB / 0.7373 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.1727, allocations: 8.031 kB / 0.7373 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007345/0.1734, allocations: 96.69 kB / 0.7374 GB, free: 8.734 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.1738, allocations: 206.1 kB / 0.7376 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1738, allocations: 12.81 kB / 0.7376 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.1739, allocations: 28.52 kB / 0.7377 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005743/0.1744, allocations: 376.7 kB / 0.738 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1745, allocations: 4 kB / 0.738 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.1745, allocations: 11.98 kB / 0.738 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.185e-05/0.1746, allocations: 24.42 kB / 0.7381 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.1751, allocations: 313.5 kB / 0.7384 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.1769, allocations: 1.479 MB / 0.7398 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.1774, allocations: 214.4 kB / 0.74 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.1776, allocations: 105.1 kB / 0.7401 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/0.1777, allocations: 11.89 kB / 0.7401 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1777, allocations: 42.44 kB / 0.7402 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.483e-06/0.1777, allocations: 0 / 0.7402 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.001338/0.1791, allocations: 0.7244 MB / 0.7409 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1791, allocations: 59.41 kB / 0.7409 GB, free: 4.898 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002122/0.1793, allocations: 198.7 kB / 0.7411 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1793, allocations: 29.7 kB / 0.7411 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001138/0.1795, allocations: 164.2 kB / 0.7413 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.5e-05/0.1795, allocations: 67.42 kB / 0.7414 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.975e-05/0.1796, allocations: 57.64 kB / 0.7414 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1798, allocations: 334.8 kB / 0.7417 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.18, allocations: 115.9 kB / 0.7418 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000227/0.1802, allocations: 163 kB / 0.742 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004229/0.1806, allocations: 301.1 kB / 0.7423 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1806, allocations: 0 / 0.7423 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008172/0.1814, allocations: 413.9 kB / 0.7427 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.1814, allocations: 8.188 kB / 0.7427 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.1815, allocations: 4 kB / 0.7427 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.1819, allocations: 100.7 kB / 0.7428 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.1822, allocations: 51.91 kB / 0.7428 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002123/0.1843, allocations: 1.776 MB / 0.7446 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.1845, allocations: 15.95 kB / 0.7446 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.344e-05/0.1845, allocations: 12 kB / 0.7446 GB, free: 0.9258 MB / 0.5606 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.0001765/0.1847, allocations: 157.8 kB / 0.7447 GB, free: 0.7617 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.133e-05/0.1848, allocations: 15.91 kB / 0.7448 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005377/0.1853, allocations: 295.4 kB / 0.745 GB, free: 464 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1853, allocations: 4 kB / 0.745 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.1853, allocations: 0 / 0.745 GB, free: 460 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.1853, allocations: 3.938 kB / 0.7451 GB, free: 456 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1863, allocations: 0.667 MB / 0.7457 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.1863, allocations: 3.984 kB / 0.7457 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.1866, allocations: 59.97 kB / 0.7458 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1866, allocations: 3.984 kB / 0.7458 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.214e-05/0.1867, allocations: 15.88 kB / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1867, allocations: 0 / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1867, allocations: 4 kB / 0.7458 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006693/0.1873, allocations: 0.5193 MB / 0.7463 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1874, allocations: 43.77 kB / 0.7463 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1875, allocations: 8 kB / 0.7463 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1877, allocations: 12.05 kB / 0.7464 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.1877, allocations: 19.97 kB / 0.7464 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.1877, allocations: 4 kB / 0.7464 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001505/0.1879, allocations: 148 kB / 0.7465 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1879, allocations: 3.938 kB / 0.7465 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003662/0.1882, allocations: 64 kB / 0.7466 GB, free: 14.8 MB / 0.5762 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.0001509/0.1884, allocations: 119.2 kB / 0.7467 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007636/0.1891, allocations: 407.9 kB / 0.7471 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1891, allocations: 0 / 0.7471 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000177/0.1893, allocations: 112.2 kB / 0.7472 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.1897, allocations: 39.2 kB / 0.7472 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.191, allocations: 0.6654 MB / 0.7479 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000423/0.1914, allocations: 0.7714 MB / 0.7486 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.1915, allocations: 23.44 kB / 0.7487 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of SimCode: time 4.91e-07/0.1915, allocations: 0 / 0.7487 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of Templates: time 0.006343/0.1978, allocations: 3.62 MB / 0.7522 GB, free: 8.977 MB / 0.5762 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: 8.71498896391131] Failed to read output from testmodel.py, exit status != 0: 0.2064913879148662 0.46222178299999994 0.28798632899999993 Calling exit ...