Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001186/0.001186, allocations: 109.8 kB / 19.58 MB, free: 2.336 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.001374/0.001374, allocations: 193.5 kB / 22.85 MB, free: 5.645 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.388/1.388, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.002517/0.002517, allocations: 292.3 kB / 307.1 MB, free: 8.43 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.213/1.213, allocations: 180.8 MB / 0.5304 GB, free: 14.59 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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") translateModel(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002848/0.002848, allocations: 98.39 kB / 0.7311 GB, free: 38.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1563, allocations: 94.2 MB / 0.8231 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.005268/0.1616, allocations: 3.182 MB / 0.8262 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.1647, allocations: 1.776 MB / 0.8279 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.1649, allocations: 7.938 kB / 0.8279 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.166, allocations: 353.5 kB / 0.8283 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0006064/0.1666, allocations: 215.1 kB / 0.8285 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.1672, allocations: 175.6 kB / 0.8286 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004903/0.1677, allocations: 323 kB / 0.8289 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003538/0.168, allocations: 157.1 kB / 0.8291 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002603/0.1683, allocations: 143.6 kB / 0.8292 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003829/0.1687, allocations: 171.4 kB / 0.8294 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.622e-05/0.1687, allocations: 20 kB / 0.8294 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004372/0.1691, allocations: 223.5 kB / 0.8296 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000146/0.1693, allocations: 103.7 kB / 0.8297 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00017/0.1695, allocations: 123.4 kB / 0.8298 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006271/0.1701, allocations: 426.5 kB / 0.8302 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1701, allocations: 3.938 kB / 0.8302 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1701, allocations: 0 / 0.8302 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1701, allocations: 0 / 0.8302 GB, free: 10.69 MB / 0.5762 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.00104/0.1711, allocations: 493.4 kB / 0.8307 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1712, allocations: 8.625 kB / 0.8307 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.1719, allocations: 92.69 kB / 0.8308 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.1723, allocations: 198.1 kB / 0.831 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.334e-05/0.1723, allocations: 16.81 kB / 0.831 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.1724, allocations: 32.53 kB / 0.831 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006187/0.173, allocations: 380.6 kB / 0.8314 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.173, allocations: 0 / 0.8314 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.1731, allocations: 4 kB / 0.8314 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000105/0.1732, allocations: 32.41 kB / 0.8314 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005252/0.1737, allocations: 305.5 kB / 0.8317 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.1757, allocations: 1.483 MB / 0.8332 GB, free: 7.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.1762, allocations: 214.3 kB / 0.8334 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.1764, allocations: 104.8 kB / 0.8335 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001015/0.1765, allocations: 4 kB / 0.8335 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1765, allocations: 42.55 kB / 0.8335 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 3.536e-06/0.1765, allocations: 3.984 kB / 0.8335 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.001392/0.1779, allocations: 0.7206 MB / 0.8342 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.178, allocations: 59.41 kB / 0.8343 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1782, allocations: 203.2 kB / 0.8345 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1782, allocations: 25.7 kB / 0.8345 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.1783, allocations: 160.2 kB / 0.8347 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.1784, allocations: 75.38 kB / 0.8347 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.1785, allocations: 49.7 kB / 0.8348 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1787, allocations: 346.7 kB / 0.8351 GB, free: 5.375 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.1788, allocations: 107.9 kB / 0.8352 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.1791, allocations: 167.5 kB / 0.8354 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004273/0.1795, allocations: 306.3 kB / 0.8357 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1795, allocations: 0 / 0.8357 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008198/0.1803, allocations: 414 kB / 0.8361 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1803, allocations: 4 kB / 0.8361 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1804, allocations: 4 kB / 0.8361 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000429/0.1808, allocations: 100.9 kB / 0.8362 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.181, allocations: 59.91 kB / 0.8362 GB, free: 4.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.1832, allocations: 1.764 MB / 0.838 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002298/0.1834, allocations: 19.95 kB / 0.838 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.808e-05/0.1834, allocations: 15.98 kB / 0.838 GB, free: 2.273 MB / 0.5762 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.0001805/0.1836, allocations: 151 kB / 0.8381 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/0.1837, allocations: 23.86 kB / 0.8382 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005365/0.1842, allocations: 303.4 kB / 0.8384 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1842, allocations: 7.938 kB / 0.8384 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.1842, allocations: 0 / 0.8384 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1842, allocations: 7.922 kB / 0.8385 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.1852, allocations: 0.6767 MB / 0.8391 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1852, allocations: 0 / 0.8391 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003089/0.1855, allocations: 55.95 kB / 0.8392 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1856, allocations: 0 / 0.8392 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.1856, allocations: 11.94 kB / 0.8392 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.1856, allocations: 3.938 kB / 0.8392 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1856, allocations: 4 kB / 0.8392 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006849/0.1863, allocations: 0.5107 MB / 0.8397 GB, free: 452 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.1864, allocations: 43.77 kB / 0.8397 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.215e-05/0.1864, allocations: 4 kB / 0.8397 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/0.1866, allocations: 15.98 kB / 0.8397 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.1866, allocations: 11.97 kB / 0.8398 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.1867, allocations: 8 kB / 0.8398 GB, free: 368 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001539/0.1868, allocations: 148 kB / 0.8399 GB, free: 216 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1868, allocations: 8 kB / 0.8399 GB, free: 208 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003702/0.1872, allocations: 67.94 kB / 0.84 GB, free: 140 kB / 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.0001576/0.1873, allocations: 107.2 kB / 0.8401 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008238/0.1882, allocations: 394.6 kB / 0.8405 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.1882, allocations: 8.125 kB / 0.8405 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.1883, allocations: 111.9 kB / 0.8406 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1887, allocations: 46.73 kB / 0.8406 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.19, allocations: 0.6393 MB / 0.8412 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004164/0.1904, allocations: 0.7675 MB / 0.842 GB, free: 14 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001681/0.1906, allocations: 61.89 kB / 0.8421 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.759e-05/0.1907, allocations: 27.42 kB / 0.8421 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.1907, allocations: 3.938 kB / 0.8421 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of Templates: time 0.007549/0.1982, allocations: 3.017 MB / 0.845 GB, free: 10.91 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.917214050889015] Failed to read output from testmodel.py, exit status != 0: 0.2058260403573513 0.22075246299999995 0.047633745000000005 Calling exit ...