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.001984/0.001984, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.002397/0.002397, allocations: 186.6 kB / 22.22 MB, free: 5.16 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.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.03 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.002433/0.002433, allocations: 285.6 kB / 306.5 MB, free: 8.348 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.202/1.202, allocations: 180.9 MB / 0.53 GB, free: 14.46 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.00274/0.00274, allocations: 108.1 kB / 0.7308 GB, free: 38.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1532, allocations: 94.2 MB / 0.8228 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004925/0.1581, allocations: 3.186 MB / 0.8259 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002872/0.161, allocations: 1.78 MB / 0.8277 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.1611, allocations: 11.94 kB / 0.8277 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1622, allocations: 345.8 kB / 0.828 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004616/0.1627, allocations: 215.1 kB / 0.8282 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004473/0.1631, allocations: 187.5 kB / 0.8284 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003936/0.1635, allocations: 323 kB / 0.8287 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003208/0.1638, allocations: 153.1 kB / 0.8289 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.164, allocations: 139.5 kB / 0.829 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003437/0.1644, allocations: 171.4 kB / 0.8292 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.1644, allocations: 24 kB / 0.8292 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.1648, allocations: 247.5 kB / 0.8294 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.1649, allocations: 99.72 kB / 0.8295 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1651, allocations: 131.4 kB / 0.8296 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005351/0.1656, allocations: 426.5 kB / 0.83 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1656, allocations: 0 / 0.83 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.103e-06/0.1656, allocations: 0 / 0.83 GB, free: 10.44 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1656, allocations: 0 / 0.83 GB, free: 10.44 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.0009256/0.1665, allocations: 485.4 kB / 0.8305 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1666, allocations: 16.56 kB / 0.8305 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.1673, allocations: 108.6 kB / 0.8306 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.1677, allocations: 194.1 kB / 0.8308 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1677, allocations: 24.8 kB / 0.8308 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1678, allocations: 24.55 kB / 0.8309 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005948/0.1684, allocations: 372.7 kB / 0.8312 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1684, allocations: 3.938 kB / 0.8312 GB, free: 9.164 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.1685, allocations: 8 kB / 0.8312 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001075/0.1686, allocations: 32.41 kB / 0.8313 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005201/0.1691, allocations: 305.5 kB / 0.8316 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/0.171, allocations: 1.479 MB / 0.833 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004669/0.1715, allocations: 218.3 kB / 0.8332 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.1716, allocations: 100.8 kB / 0.8333 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1717, allocations: 19.97 kB / 0.8333 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/0.1718, allocations: 34.56 kB / 0.8334 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.442e-06/0.1718, allocations: 0 / 0.8334 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of matching and sorting (n=19): time 0.00127/0.1731, allocations: 0.7153 MB / 0.8341 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1731, allocations: 55.41 kB / 0.8341 GB, free: 6 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1733, allocations: 203.1 kB / 0.8343 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.769e-05/0.1733, allocations: 33.7 kB / 0.8343 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.1734, allocations: 156.2 kB / 0.8345 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.462e-05/0.1735, allocations: 79.38 kB / 0.8346 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.1736, allocations: 53.69 kB / 0.8346 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1737, allocations: 334.8 kB / 0.8349 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1739, allocations: 107.9 kB / 0.835 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.1741, allocations: 175.5 kB / 0.8352 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.1746, allocations: 291.1 kB / 0.8355 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1746, allocations: 8 kB / 0.8355 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007958/0.1754, allocations: 409.2 kB / 0.8359 GB, free: 4.109 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.1754, allocations: 11.98 kB / 0.8359 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.1754, allocations: 3.938 kB / 0.8359 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.1758, allocations: 108.9 kB / 0.836 GB, free: 3.984 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.1761, allocations: 47.97 kB / 0.836 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/0.1781, allocations: 1.772 MB / 0.8378 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.1784, allocations: 23.98 kB / 0.8378 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.761e-05/0.1784, allocations: 19.97 kB / 0.8378 GB, free: 2.008 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.0001618/0.1785, allocations: 147.9 kB / 0.838 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.624e-05/0.1786, allocations: 27.84 kB / 0.838 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005177/0.1791, allocations: 297.5 kB / 0.8383 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.1791, allocations: 11.97 kB / 0.8383 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.1791, allocations: 0 / 0.8383 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1791, allocations: 3.938 kB / 0.8383 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009641/0.1801, allocations: 0.6762 MB / 0.8389 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1801, allocations: 0 / 0.8389 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.1804, allocations: 59.89 kB / 0.839 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1804, allocations: 0 / 0.839 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.1804, allocations: 11.94 kB / 0.839 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1804, allocations: 4.062 kB / 0.839 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1804, allocations: 0 / 0.839 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006454/0.1811, allocations: 0.5087 MB / 0.8395 GB, free: 188 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.1812, allocations: 47.78 kB / 0.8396 GB, free: 140 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.475e-05/0.1812, allocations: 4 kB / 0.8396 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1814, allocations: 20.03 kB / 0.8396 GB, free: 116 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.1814, allocations: 15.98 kB / 0.8396 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.1815, allocations: 12 kB / 0.8396 GB, free: 88 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001496/0.1816, allocations: 140.1 kB / 0.8397 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1816, allocations: 0 / 0.8397 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003607/0.182, allocations: 71.94 kB / 0.8398 GB, free: 15.88 MB / 0.5919 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.0001449/0.1821, allocations: 103.2 kB / 0.8399 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007228/0.1828, allocations: 402.3 kB / 0.8403 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1828, allocations: 0 / 0.8403 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.183, allocations: 118 kB / 0.8404 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.1834, allocations: 42.97 kB / 0.8404 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.1846, allocations: 0.6392 MB / 0.8411 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004054/0.185, allocations: 0.7753 MB / 0.8418 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.1851, allocations: 53.86 kB / 0.8419 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.1852, allocations: 23.42 kB / 0.8419 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of SimCode: time 4.4e-07/0.1852, allocations: 0 / 0.8419 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.006803/0.192, allocations: 3.015 MB / 0.8448 GB, free: 10.66 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.0009790966287255] Failed to read output from testmodel.py, exit status != 0: 0.19938400015234947 0.213912457 0.045329093 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7d63c457b0>