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.001317/0.001317, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001431/0.001431, allocations: 215 kB / 22.25 MB, free: 5.117 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.996 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.002443/0.002443, allocations: 285.1 kB / 312.7 MB, free: 2.793 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.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 12.88 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.002836/0.002836, allocations: 109.8 kB / 0.7396 GB, free: 28.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1591, allocations: 95.38 MB / 0.8327 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004886/0.1639, allocations: 3.22 MB / 0.8359 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003035/0.167, allocations: 1.808 MB / 0.8376 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001105/0.1671, allocations: 4 kB / 0.8376 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.1681, allocations: 342.7 kB / 0.838 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.1686, allocations: 223.1 kB / 0.8382 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.169, allocations: 183.4 kB / 0.8384 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004064/0.1694, allocations: 315 kB / 0.8387 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003111/0.1698, allocations: 177 kB / 0.8388 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.17, allocations: 139.6 kB / 0.839 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003133/0.1703, allocations: 175.4 kB / 0.8391 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.1703, allocations: 20 kB / 0.8391 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.1707, allocations: 247.5 kB / 0.8394 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.1709, allocations: 103.7 kB / 0.8395 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.171, allocations: 131.3 kB / 0.8396 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.1715, allocations: 418.5 kB / 0.84 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1715, allocations: 0 / 0.84 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1715, allocations: 0 / 0.84 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.1715, allocations: 8 kB / 0.84 GB, free: 1.137 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.0009197/0.1725, allocations: 491.9 kB / 0.8405 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.1725, allocations: 9.344 kB / 0.8405 GB, free: 0.6172 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.1726, allocations: 58.67 kB / 0.8405 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007062/0.1733, allocations: 96.64 kB / 0.8406 GB, free: 468 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.1736, allocations: 206.1 kB / 0.8408 GB, free: 236 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.842e-05/0.1736, allocations: 16.8 kB / 0.8409 GB, free: 220 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.15e-05/0.1737, allocations: 24.56 kB / 0.8409 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.1743, allocations: 376.5 kB / 0.8412 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1743, allocations: 4 kB / 0.8412 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.1743, allocations: 11.84 kB / 0.8412 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.613e-05/0.1744, allocations: 32.42 kB / 0.8413 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.1749, allocations: 309.5 kB / 0.8416 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.1768, allocations: 1.491 MB / 0.843 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004442/0.1773, allocations: 206.5 kB / 0.8432 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.1774, allocations: 104.8 kB / 0.8433 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.544e-05/0.1775, allocations: 11.92 kB / 0.8433 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.1776, allocations: 46.5 kB / 0.8434 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.1776, allocations: 0 / 0.8434 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=19): time 0.001236/0.1788, allocations: 0.7136 MB / 0.8441 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.1788, allocations: 55.41 kB / 0.8441 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.179, allocations: 195.8 kB / 0.8443 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.1791, allocations: 25.7 kB / 0.8443 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1792, allocations: 168.2 kB / 0.8445 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.667e-05/0.1792, allocations: 67.39 kB / 0.8446 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.399e-05/0.1793, allocations: 61.69 kB / 0.8446 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1795, allocations: 330.8 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.1797, allocations: 115.9 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/0.1799, allocations: 175 kB / 0.8452 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004185/0.1803, allocations: 297.7 kB / 0.8455 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1803, allocations: 0 / 0.8455 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007849/0.1811, allocations: 425.2 kB / 0.8459 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1811, allocations: 5.562 kB / 0.8459 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1811, allocations: 4 kB / 0.8459 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004262/0.1815, allocations: 100.9 kB / 0.846 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.1818, allocations: 55.91 kB / 0.8461 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.1839, allocations: 1.776 MB / 0.8478 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1841, allocations: 19.95 kB / 0.8478 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.175e-05/0.1841, allocations: 8 kB / 0.8478 GB, free: 8.633 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.0001734/0.1843, allocations: 162.5 kB / 0.848 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.093e-05/0.1843, allocations: 15.91 kB / 0.848 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005032/0.1848, allocations: 298 kB / 0.8483 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1848, allocations: 4 kB / 0.8483 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-06/0.1848, allocations: 0 / 0.8483 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.1848, allocations: 3.938 kB / 0.8483 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009918/0.1858, allocations: 0.6786 MB / 0.849 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1858, allocations: 0 / 0.849 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.1861, allocations: 55.95 kB / 0.849 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1861, allocations: 7.875 kB / 0.849 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.1862, allocations: 11.98 kB / 0.849 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.1862, allocations: 0 / 0.849 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1862, allocations: 4 kB / 0.849 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006313/0.1868, allocations: 0.5165 MB / 0.8495 GB, free: 6.797 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.1869, allocations: 39.81 kB / 0.8496 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.1869, allocations: 8 kB / 0.8496 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001827/0.1871, allocations: 15.98 kB / 0.8496 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1871, allocations: 11.97 kB / 0.8496 GB, free: 6.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.1872, allocations: 4 kB / 0.8496 GB, free: 6.719 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001411/0.1873, allocations: 156.1 kB / 0.8498 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1873, allocations: 0 / 0.8498 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003452/0.1876, allocations: 63.94 kB / 0.8498 GB, free: 6.5 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.0009562/0.1886, allocations: 1.06 MB / 0.8509 GB, free: 5.406 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0007163/0.1893, allocations: 409.4 kB / 0.8512 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1893, allocations: 0 / 0.8512 GB, free: 4.996 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.1895, allocations: 116.3 kB / 0.8514 GB, free: 4.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1898, allocations: 45.84 kB / 0.8514 GB, free: 4.844 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.1936, allocations: 2.889 MB / 0.8542 GB, free: 1.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.194, allocations: 0.7829 MB / 0.855 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001436/0.1941, allocations: 49.92 kB / 0.855 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1943, allocations: 67.41 kB / 0.8551 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1943, allocations: 0 / 0.8551 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03352/0.2278, allocations: 5.348 MB / 0.8603 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.53, allocations: 15.17 kB / 0.8603 GB, free: 11.7 MB / 0.6075 GB " [Timeout remaining time 648] (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: 15.787527830001636] Failed to read output from testmodel.py, exit status != 0: 11.645076543998584 11.67077271 11.495690068 Calling exit ...