Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.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.001628/0.001628, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002005/0.002005, allocations: 219.8 kB / 22.25 MB, free: 5.121 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.39/1.39, allocations: 230.6 MB / 256 MB, free: 7.965 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.002516/0.002516, allocations: 289.6 kB / 312.7 MB, free: 2.762 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.177/1.177, 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.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Loads_Examples_DynamicLoads",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.002867/0.002867, allocations: 105.5 kB / 0.7396 GB, free: 28.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1544, allocations: 95.38 MB / 0.8327 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004919/0.1593, allocations: 3.401 MB / 0.8361 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.1627, allocations: 2.112 MB / 0.8381 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001397/0.1629, allocations: 7.938 kB / 0.8381 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009713/0.1638, allocations: 299.7 kB / 0.8384 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.1644, allocations: 238.9 kB / 0.8386 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006928/0.165, allocations: 292.8 kB / 0.8389 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004921/0.1655, allocations: 414.6 kB / 0.8393 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.1659, allocations: 168.3 kB / 0.8395 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002659/0.1661, allocations: 175.4 kB / 0.8396 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003446/0.1665, allocations: 211.3 kB / 0.8398 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.245e-05/0.1665, allocations: 24 kB / 0.8399 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004281/0.1669, allocations: 275.5 kB / 0.8401 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.1671, allocations: 119.6 kB / 0.8402 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.1672, allocations: 151.2 kB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.1678, allocations: 494.2 kB / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1678, allocations: 0 / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1678, allocations: 0 / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1678, allocations: 0 / 0.8409 GB, free: 300 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001088/0.1689, allocations: 0.5323 MB / 0.8414 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.169, allocations: 9.344 kB / 0.8414 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.407e-05/0.169, allocations: 62.72 kB / 0.8414 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009805/0.17, allocations: 124.5 kB / 0.8416 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.1704, allocations: 214.8 kB / 0.8418 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.1704, allocations: 24.86 kB / 0.8418 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.1705, allocations: 40.44 kB / 0.8418 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007376/0.1713, allocations: 461.4 kB / 0.8423 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.1713, allocations: 3.938 kB / 0.8423 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.1713, allocations: 8 kB / 0.8423 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001386/0.1715, allocations: 36.47 kB / 0.8423 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006592/0.1721, allocations: 365.7 kB / 0.8427 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002987/0.1751, allocations: 2.15 MB / 0.8448 GB, free: 12 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004901/0.1756, allocations: 238.4 kB / 0.845 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.1759, allocations: 156.7 kB / 0.8451 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1759, allocations: 7.984 kB / 0.8452 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.1759, allocations: 38.56 kB / 0.8452 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.1759, allocations: 0 / 0.8452 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002014/0.1779, allocations: 0.9098 MB / 0.8461 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.178, allocations: 55.34 kB / 0.8461 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.1783, allocations: 260.9 kB / 0.8464 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.1784, allocations: 29.7 kB / 0.8464 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001479/0.1785, allocations: 192.3 kB / 0.8466 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.1786, allocations: 83.28 kB / 0.8467 GB, free: 9.969 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.1787, allocations: 77.64 kB / 0.8467 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1789, allocations: 338.8 kB / 0.8471 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.1792, allocations: 155.9 kB / 0.8472 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/0.1795, allocations: 245.5 kB / 0.8475 GB, free: 9.121 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006127/0.1801, allocations: 414.8 kB / 0.8478 GB, free: 8.684 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1801, allocations: 3.938 kB / 0.8478 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001238/0.1814, allocations: 0.5887 MB / 0.8484 GB, free: 8.082 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1814, allocations: 4 kB / 0.8484 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1814, allocations: 4 kB / 0.8484 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007185/0.1821, allocations: 189 kB / 0.8486 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003268/0.1824, allocations: 63.89 kB / 0.8487 GB, free: 7.824 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.1856, allocations: 2.389 MB / 0.851 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003879/0.186, allocations: 27.97 kB / 0.851 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.186, allocations: 20.05 kB / 0.8511 GB, free: 5.273 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 31 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.1862, allocations: 166.3 kB / 0.8512 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.045e-05/0.1863, allocations: 23.86 kB / 0.8512 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005914/0.1869, allocations: 359.6 kB / 0.8516 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1869, allocations: 0 / 0.8516 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1869, allocations: 0 / 0.8516 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.1869, allocations: 4 kB / 0.8516 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001174/0.188, allocations: 0.7879 MB / 0.8523 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.188, allocations: 0 / 0.8523 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003963/0.1884, allocations: 79.88 kB / 0.8524 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1884, allocations: 0 / 0.8524 GB, free: 3.801 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.1885, allocations: 11.98 kB / 0.8524 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1885, allocations: 0 / 0.8524 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1885, allocations: 4 kB / 0.8524 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008192/0.1893, allocations: 0.6113 MB / 0.853 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.1894, allocations: 55.83 kB / 0.8531 GB, free: 3.098 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.774e-05/0.1895, allocations: 11.98 kB / 0.8531 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1897, allocations: 7.984 kB / 0.8531 GB, free: 3.078 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.1898, allocations: 23.91 kB / 0.8531 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1898, allocations: 7.938 kB / 0.8531 GB, free: 3.047 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000238/0.19, allocations: 192.5 kB / 0.8533 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.19, allocations: 0 / 0.8533 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004201/0.1905, allocations: 92 kB / 0.8534 GB, free: 2.773 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (dynRC.q[1],dynRC.q[2],dynRL.psi[1],dynRL.psi[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 (24): * Single equations (assignments): 24 * 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.001157/0.1916, allocations: 1.149 MB / 0.8545 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009825/0.1926, allocations: 0.5332 MB / 0.8551 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1926, allocations: 4.125 kB / 0.8551 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000218/0.1928, allocations: 138.3 kB / 0.8552 GB, free: 0.9102 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.1933, allocations: 60.83 kB / 0.8552 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005837/0.1991, allocations: 3.703 MB / 0.8589 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.1996, allocations: 0.795 MB / 0.8596 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0002704/0.1999, allocations: 74.92 kB / 0.8597 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.2001, allocations: 91.39 kB / 0.8598 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of SimCode: time 1.041e-06/0.2001, allocations: 0 / 0.8598 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.2387, allocations: 7.269 MB / 0.8669 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.48, allocations: 5.156 kB / 0.8669 GB, free: 4.91 MB / 0.6075 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads_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_Loads_Examples_DynamicLoads.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.520052323001437] Failed to read output from testmodel.py, exit status != 0: 11.58864606300267 11.605598182 11.434510301 Calling exit ...