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.001265/0.001265, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001375/0.001375, allocations: 214.6 kB / 22.25 MB, free: 5.078 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.345/1.345, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002382/0.002382, allocations: 293.4 kB / 312.7 MB, free: 2.805 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.18/1.18, allocations: 180.6 MB / 0.5369 GB, free: 13.02 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.002745/0.002745, allocations: 105.2 kB / 0.7396 GB, free: 28.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1491, allocations: 95.39 MB / 0.8327 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004585/0.1537, allocations: 3.21 MB / 0.8359 GB, free: 5.461 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002659/0.1563, allocations: 1.819 MB / 0.8376 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.1564, allocations: 8 kB / 0.8377 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009643/0.1574, allocations: 338.7 kB / 0.838 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004027/0.1578, allocations: 219.1 kB / 0.8382 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1582, allocations: 183.5 kB / 0.8384 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003619/0.1585, allocations: 315 kB / 0.8387 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002925/0.1588, allocations: 181 kB / 0.8388 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002071/0.159, allocations: 135.6 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.1593, allocations: 175.4 kB / 0.8391 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1593, allocations: 20 kB / 0.8391 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003626/0.1597, allocations: 247.4 kB / 0.8394 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001116/0.1598, allocations: 107.7 kB / 0.8395 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1599, allocations: 127.4 kB / 0.8396 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004856/0.1604, allocations: 426.5 kB / 0.84 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1604, allocations: 0 / 0.84 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.001e-06/0.1604, allocations: 0 / 0.84 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.1604, allocations: 0 / 0.84 GB, free: 1.195 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.0008335/0.1613, allocations: 486.4 kB / 0.8405 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.1613, allocations: 9.938 kB / 0.8405 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.378e-05/0.1614, allocations: 62.72 kB / 0.8405 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000684/0.1621, allocations: 104.6 kB / 0.8406 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.1624, allocations: 194.1 kB / 0.8408 GB, free: 300 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.1624, allocations: 20.8 kB / 0.8409 GB, free: 280 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.1625, allocations: 24.55 kB / 0.8409 GB, free: 256 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.163, allocations: 380.5 kB / 0.8412 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.163, allocations: 0 / 0.8412 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.1631, allocations: 8 kB / 0.8412 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.596e-05/0.1632, allocations: 36.39 kB / 0.8413 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.1636, allocations: 301.5 kB / 0.8416 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.1654, allocations: 1.495 MB / 0.843 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.1658, allocations: 211.4 kB / 0.8432 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1659, allocations: 100.8 kB / 0.8433 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.13e-05/0.166, allocations: 12 kB / 0.8433 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.166, allocations: 34.56 kB / 0.8434 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.166, allocations: 3.938 kB / 0.8434 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001166/0.1672, allocations: 0.7235 MB / 0.8441 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.1672, allocations: 51.41 kB / 0.8441 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1674, allocations: 199.8 kB / 0.8443 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.1674, allocations: 29.69 kB / 0.8443 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.1675, allocations: 160.2 kB / 0.8445 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.703e-05/0.1676, allocations: 75.38 kB / 0.8446 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.895e-05/0.1677, allocations: 53.7 kB / 0.8446 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.1678, allocations: 334.8 kB / 0.8449 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.168, allocations: 107.9 kB / 0.845 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002207/0.1682, allocations: 191 kB / 0.8452 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.1686, allocations: 296.8 kB / 0.8455 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1686, allocations: 4 kB / 0.8455 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007318/0.1693, allocations: 413.9 kB / 0.8459 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.1694, allocations: 9.875 kB / 0.8459 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1694, allocations: 0 / 0.8459 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003886/0.1698, allocations: 104.9 kB / 0.846 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.17, allocations: 55.84 kB / 0.8461 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.1719, allocations: 1.776 MB / 0.8478 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/0.1721, allocations: 15.92 kB / 0.8478 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.1721, allocations: 15.98 kB / 0.8478 GB, free: 8.688 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.0001488/0.1723, allocations: 154.4 kB / 0.848 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1723, allocations: 15.91 kB / 0.848 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.1728, allocations: 303.5 kB / 0.8483 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1728, allocations: 4 kB / 0.8483 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.1728, allocations: 0 / 0.8483 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1728, allocations: 7.922 kB / 0.8483 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/0.1737, allocations: 0.6708 MB / 0.849 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1737, allocations: 0 / 0.849 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002929/0.174, allocations: 55.89 kB / 0.849 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.174, allocations: 7.938 kB / 0.849 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.825e-05/0.174, allocations: 12.06 kB / 0.849 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.174, allocations: 3.938 kB / 0.849 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.174, allocations: 0 / 0.849 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006092/0.1746, allocations: 0.515 MB / 0.8495 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1747, allocations: 43.84 kB / 0.8496 GB, free: 6.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.1747, allocations: 4 kB / 0.8496 GB, free: 6.812 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.1749, allocations: 16.05 kB / 0.8496 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.621e-05/0.175, allocations: 11.97 kB / 0.8496 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.175, allocations: 8 kB / 0.8496 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001288/0.1751, allocations: 148 kB / 0.8498 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1751, allocations: 0 / 0.8498 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003346/0.1754, allocations: 71.94 kB / 0.8498 GB, free: 6.559 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.0009195/0.1764, allocations: 1.057 MB / 0.8509 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006756/0.177, allocations: 402.6 kB / 0.8512 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.177, allocations: 0 / 0.8512 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001656/0.1772, allocations: 117.5 kB / 0.8514 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1775, allocations: 31.97 kB / 0.8514 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.1812, allocations: 2.909 MB / 0.8542 GB, free: 1.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003725/0.1816, allocations: 0.7751 MB / 0.855 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001475/0.1817, allocations: 61.91 kB / 0.855 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1818, allocations: 59.42 kB / 0.8551 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of SimCode: time 3.51e-07/0.1818, allocations: 0 / 0.8551 GB, free: 0.9609 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.2164, allocations: 5.35 MB / 0.8603 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.89, allocations: 8.047 kB / 0.8603 GB, free: 11.77 MB / 0.6075 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 14.751965475967154] Failed to read output from testmodel.py, exit status != 0: 10.988550761947408 11.004501084 10.841086337 Calling exit ...