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.001432/0.001432, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.001611/0.001611, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.336/1.336, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.002359/0.002359, allocations: 285.4 kB / 309.1 MB, free: 4.098 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.119/1.119, allocations: 180.9 MB / 0.5333 GB, free: 13.87 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.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.002692/0.002692, allocations: 103.3 kB / 0.7342 GB, free: 36.2 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1352, allocations: 95.34 MB / 0.8274 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Loads.Examples.DynamicLoads): time 0.004643/0.1398, allocations: 3.318 MB / 0.8306 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.1429, allocations: 2.073 MB / 0.8326 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.636e-05/0.143, allocations: 7.938 kB / 0.8326 GB, free: 6.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008522/0.1439, allocations: 306.7 kB / 0.8329 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0004454/0.1443, allocations: 234.9 kB / 0.8331 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.1449, allocations: 297.7 kB / 0.8334 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004324/0.1453, allocations: 398.8 kB / 0.8338 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.1456, allocations: 172.2 kB / 0.834 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002449/0.1458, allocations: 167.5 kB / 0.8341 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003112/0.1462, allocations: 211.3 kB / 0.8343 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.055e-05/0.1462, allocations: 27.94 kB / 0.8344 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003874/0.1466, allocations: 275.5 kB / 0.8346 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001228/0.1467, allocations: 119.7 kB / 0.8347 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.1469, allocations: 147.3 kB / 0.8349 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.1474, allocations: 498.2 kB / 0.8353 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1474, allocations: 0 / 0.8353 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1474, allocations: 4 kB / 0.8354 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.248e-06/0.1474, allocations: 0 / 0.8354 GB, free: 3.742 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001003/0.1484, allocations: 0.5998 MB / 0.8359 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1484, allocations: 12.03 kB / 0.8359 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.454e-05/0.1485, allocations: 66.64 kB / 0.836 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009349/0.1495, allocations: 124.6 kB / 0.8361 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.1498, allocations: 274.1 kB / 0.8364 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1498, allocations: 20.92 kB / 0.8364 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001189/0.1499, allocations: 44.38 kB / 0.8365 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.1506, allocations: 449.1 kB / 0.8369 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1506, allocations: 0 / 0.8369 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.378e-05/0.1507, allocations: 12 kB / 0.8369 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.1508, allocations: 44.52 kB / 0.8369 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000624/0.1514, allocations: 369.9 kB / 0.8373 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.1539, allocations: 2.215 MB / 0.8395 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.1543, allocations: 246.4 kB / 0.8397 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.1546, allocations: 140.8 kB / 0.8398 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1546, allocations: 4 kB / 0.8398 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.1546, allocations: 38.5 kB / 0.8399 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=22): time 2.915e-06/0.1546, allocations: 3.984 kB / 0.8399 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.001746/0.1563, allocations: 1.067 MB / 0.8409 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1564, allocations: 55.41 kB / 0.841 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.1567, allocations: 260.9 kB / 0.8412 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.749e-05/0.1567, allocations: 29.7 kB / 0.8412 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.1568, allocations: 188.4 kB / 0.8414 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.489e-05/0.1569, allocations: 99.2 kB / 0.8415 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001259/0.157, allocations: 69.64 kB / 0.8416 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1572, allocations: 338.8 kB / 0.8419 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.1575, allocations: 151.9 kB / 0.842 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.1578, allocations: 246.3 kB / 0.8423 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005793/0.1584, allocations: 418.8 kB / 0.8427 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1584, allocations: 3.938 kB / 0.8427 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00117/0.1596, allocations: 0.5888 MB / 0.8433 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.1596, allocations: 4 kB / 0.8433 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1596, allocations: 4 kB / 0.8433 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.1602, allocations: 184.9 kB / 0.8434 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.1605, allocations: 63.89 kB / 0.8435 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.1634, allocations: 2.497 MB / 0.8459 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.1638, allocations: 23.97 kB / 0.846 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.1638, allocations: 16 kB / 0.846 GB, free: 8.172 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.0001637/0.164, allocations: 168.3 kB / 0.8461 GB, free: 8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.164, allocations: 23.86 kB / 0.8462 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.1646, allocations: 363.5 kB / 0.8465 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1646, allocations: 0 / 0.8465 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-06/0.1646, allocations: 112 / 0.8465 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1646, allocations: 3.938 kB / 0.8465 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.1656, allocations: 0.82 MB / 0.8473 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1656, allocations: 3.984 kB / 0.8473 GB, free: 6.727 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003837/0.166, allocations: 71.95 kB / 0.8474 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.166, allocations: 4.062 kB / 0.8474 GB, free: 6.652 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-05/0.1661, allocations: 11.98 kB / 0.8474 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1661, allocations: 0 / 0.8474 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1661, allocations: 0 / 0.8474 GB, free: 6.641 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007458/0.1668, allocations: 0.6166 MB / 0.848 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.1669, allocations: 129 kB / 0.8481 GB, free: 5.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.905e-05/0.167, allocations: 8 kB / 0.8481 GB, free: 5.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1672, allocations: 15.98 kB / 0.8482 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.1673, allocations: 15.92 kB / 0.8482 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.1673, allocations: 11.98 kB / 0.8482 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002223/0.1675, allocations: 188.5 kB / 0.8484 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1675, allocations: 0 / 0.8484 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000388/0.1679, allocations: 88 kB / 0.8484 GB, free: 5.539 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.001079/0.169, allocations: 1.16 MB / 0.8496 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009047/0.1699, allocations: 0.5179 MB / 0.8501 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1699, allocations: 0 / 0.8501 GB, free: 3.816 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.1701, allocations: 143.8 kB / 0.8502 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.1705, allocations: 60.48 kB / 0.8503 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005073/0.1756, allocations: 3.697 MB / 0.8539 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.176, allocations: 0.7949 MB / 0.8547 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.1762, allocations: 74.92 kB / 0.8547 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1763, allocations: 83.41 kB / 0.8548 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.1763, allocations: 0 / 0.8548 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03457/0.2109, allocations: 7.006 MB / 0.8617 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.267/9.478, allocations: 7.375 kB / 0.8617 GB, free: 7.992 MB / 0.6075 GB " [Timeout remaining time 650] (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: 13.269717828836292] Failed to read output from testmodel.py, exit status != 0: 9.558011150918901 9.571401602 9.421383291 Calling exit ...