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.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.001174/0.001174, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001255/0.001255, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.308/1.308, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 179] 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.002354/0.002354, allocations: 282.8 kB / 309.1 MB, free: 3.969 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.117/1.117, allocations: 180.9 MB / 0.5333 GB, free: 13.81 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.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: "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002614/0.002614, allocations: 96.19 kB / 0.7342 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 95.34 MB / 0.8273 GB, free: 9.895 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004485/0.15, allocations: 3.149 MB / 0.8304 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002636/0.1526, allocations: 1.772 MB / 0.8322 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.1527, allocations: 8 kB / 0.8322 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009295/0.1536, allocations: 330.7 kB / 0.8325 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004094/0.154, allocations: 223.1 kB / 0.8327 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003784/0.1544, allocations: 180.6 kB / 0.8329 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.1548, allocations: 319 kB / 0.8332 GB, free: 3.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.1551, allocations: 188.8 kB / 0.8333 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002062/0.1553, allocations: 147.5 kB / 0.8335 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002561/0.1555, allocations: 167.5 kB / 0.8336 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.336e-05/0.1556, allocations: 27.94 kB / 0.8337 GB, free: 3.387 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.1559, allocations: 247.5 kB / 0.8339 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.156, allocations: 99.78 kB / 0.834 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1561, allocations: 123.4 kB / 0.8341 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.1566, allocations: 426.5 kB / 0.8345 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.1566, allocations: 4 kB / 0.8345 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1566, allocations: 0 / 0.8345 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1566, allocations: 0 / 0.8345 GB, free: 2.504 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.0008754/0.1575, allocations: 0.5532 MB / 0.8351 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1575, allocations: 8.031 kB / 0.8351 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.639e-05/0.1576, allocations: 58.72 kB / 0.8351 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/0.1583, allocations: 96.64 kB / 0.8352 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1586, allocations: 261.5 kB / 0.8355 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1586, allocations: 16.8 kB / 0.8355 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.893e-05/0.1587, allocations: 28.55 kB / 0.8355 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.1592, allocations: 376.9 kB / 0.8359 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1592, allocations: 4 kB / 0.8359 GB, free: 1 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1593, allocations: 4 kB / 0.8359 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.812e-05/0.1594, allocations: 32.41 kB / 0.8359 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.1598, allocations: 305.5 kB / 0.8362 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.1616, allocations: 1.537 MB / 0.8377 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.1621, allocations: 210.4 kB / 0.8379 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001755/0.1623, allocations: 108.8 kB / 0.838 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001332/0.1624, allocations: 81.11 kB / 0.8381 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.1625, allocations: 38.5 kB / 0.8381 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.222e-06/0.1625, allocations: 0 / 0.8381 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001225/0.1637, allocations: 0.8001 MB / 0.8389 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/0.1637, allocations: 55.41 kB / 0.839 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002032/0.1639, allocations: 191.7 kB / 0.8391 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.873e-05/0.164, allocations: 33.7 kB / 0.8392 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.946e-05/0.1641, allocations: 164.1 kB / 0.8393 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.294e-05/0.1641, allocations: 75.36 kB / 0.8394 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.22e-05/0.1642, allocations: 49.7 kB / 0.8395 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1643, allocations: 334.8 kB / 0.8398 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.1645, allocations: 115.9 kB / 0.8399 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.1647, allocations: 161.9 kB / 0.84 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003934/0.1651, allocations: 300.6 kB / 0.8403 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1651, allocations: 3.984 kB / 0.8403 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000737/0.1659, allocations: 418.9 kB / 0.8407 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1659, allocations: 4 kB / 0.8407 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.1659, allocations: 0 / 0.8407 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003934/0.1663, allocations: 100.8 kB / 0.8408 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.1665, allocations: 47.91 kB / 0.8409 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.1685, allocations: 1.88 MB / 0.8427 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1688, allocations: 15.92 kB / 0.8427 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.1688, allocations: 15.98 kB / 0.8427 GB, free: 9.492 MB / 0.5919 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.0001498/0.1689, allocations: 157.8 kB / 0.8429 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.169, allocations: 15.91 kB / 0.8429 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004805/0.1695, allocations: 297.7 kB / 0.8432 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.1695, allocations: 4 kB / 0.8432 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.1695, allocations: 0 / 0.8432 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1695, allocations: 7.922 kB / 0.8432 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009091/0.1704, allocations: 0.7044 MB / 0.8439 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1704, allocations: 4.062 kB / 0.8439 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002908/0.1707, allocations: 55.89 kB / 0.8439 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1707, allocations: 7.938 kB / 0.844 GB, free: 8.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.1707, allocations: 4.125 kB / 0.844 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1707, allocations: 8 kB / 0.844 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1707, allocations: 0 / 0.844 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006232/0.1713, allocations: 0.5164 MB / 0.8445 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.1714, allocations: 121 kB / 0.8446 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1715, allocations: 3.984 kB / 0.8446 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1717, allocations: 15.98 kB / 0.8446 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.1717, allocations: 11.98 kB / 0.8446 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.1717, allocations: 8 kB / 0.8446 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001344/0.1718, allocations: 144 kB / 0.8448 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1718, allocations: 3.938 kB / 0.8448 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003438/0.1722, allocations: 68 kB / 0.8448 GB, free: 7.238 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.0009431/0.1731, allocations: 1.067 MB / 0.8459 GB, free: 6.137 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006909/0.1738, allocations: 411.6 kB / 0.8463 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1738, allocations: 0 / 0.8463 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001601/0.174, allocations: 115.8 kB / 0.8464 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003482/0.1743, allocations: 42.42 kB / 0.8464 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003656/0.178, allocations: 2.904 MB / 0.8493 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.1784, allocations: 0.779 MB / 0.85 GB, free: 1.738 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.1785, allocations: 57.91 kB / 0.8501 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1786, allocations: 63.42 kB / 0.8501 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.1786, allocations: 0 / 0.8501 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03055/0.2092, allocations: 5.153 MB / 0.8552 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.206/9.415, allocations: 7.219 kB / 0.8552 GB, free: 12.67 MB / 0.6075 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.172238835599273] Failed to read output from testmodel.py, exit status != 0: 9.505298518110067 9.524530788 9.364513844 Calling exit ...