Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.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.00146/0.00146, allocations: 109.5 kB / 16.45 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.001604/0.001604, 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.341/1.341, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] 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.002311/0.002311, allocations: 291.1 kB / 309.1 MB, free: 3.977 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.174/1.174, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Examples_GridDCLoad",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.002667/0.002667, allocations: 101.4 kB / 0.7342 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1432, allocations: 95.35 MB / 0.8273 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004348/0.1475, allocations: 3.111 MB / 0.8304 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002822/0.1503, allocations: 1.995 MB / 0.8323 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.1504, allocations: 7.938 kB / 0.8323 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.1513, allocations: 294.8 kB / 0.8326 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1516, allocations: 195.1 kB / 0.8328 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.1522, allocations: 250.1 kB / 0.833 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003642/0.1525, allocations: 326.9 kB / 0.8334 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.1528, allocations: 148.8 kB / 0.8335 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.153, allocations: 139.5 kB / 0.8336 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002765/0.1533, allocations: 155.4 kB / 0.8338 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.1533, allocations: 20 kB / 0.8338 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005865/0.1539, allocations: 423.2 kB / 0.8342 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.63e-05/0.154, allocations: 99.66 kB / 0.8343 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.1541, allocations: 119.4 kB / 0.8344 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006001/0.1547, allocations: 0.4944 MB / 0.8349 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1547, allocations: 0 / 0.8349 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1547, allocations: 0 / 0.8349 GB, free: 2.102 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.1547, allocations: 0 / 0.8349 GB, free: 2.102 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008284/0.1556, allocations: 0.5621 MB / 0.8354 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.1556, allocations: 8.031 kB / 0.8354 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.093e-05/0.1557, allocations: 58.72 kB / 0.8355 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/0.1564, allocations: 116.6 kB / 0.8356 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.1568, allocations: 265.2 kB / 0.8359 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.1568, allocations: 16.81 kB / 0.8359 GB, free: 0.9883 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.1568, allocations: 24.31 kB / 0.8359 GB, free: 0.9648 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005315/0.1574, allocations: 357.3 kB / 0.8362 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1574, allocations: 0 / 0.8362 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.1574, allocations: 11.98 kB / 0.8363 GB, free: 0.5781 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.964e-05/0.1574, allocations: 32.34 kB / 0.8363 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004589/0.1579, allocations: 289.5 kB / 0.8366 GB, free: 268 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002116/0.16, allocations: 1.734 MB / 0.8383 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.1605, allocations: 318.1 kB / 0.8386 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1607, allocations: 101.6 kB / 0.8387 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.1608, allocations: 93.09 kB / 0.8387 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1608, allocations: 38.5 kB / 0.8388 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1608, allocations: 0 / 0.8388 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002408/0.1632, allocations: 0.9686 MB / 0.8397 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.1633, allocations: 85.05 kB / 0.8398 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1635, allocations: 212.5 kB / 0.84 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.1635, allocations: 25.8 kB / 0.84 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.1636, allocations: 180.4 kB / 0.8402 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.1637, allocations: 91.2 kB / 0.8403 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.1638, allocations: 61.69 kB / 0.8404 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.164, allocations: 330.8 kB / 0.8407 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002047/0.1642, allocations: 131.9 kB / 0.8408 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.1644, allocations: 211.1 kB / 0.841 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.1649, allocations: 369.2 kB / 0.8414 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1649, allocations: 0 / 0.8414 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008585/0.1658, allocations: 0.5161 MB / 0.8419 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1658, allocations: 9.562 kB / 0.8419 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1658, allocations: 0 / 0.8419 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005085/0.1663, allocations: 151.3 kB / 0.842 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.1666, allocations: 59.97 kB / 0.8421 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003283/0.1698, allocations: 4.19 MB / 0.8462 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.17, allocations: 16.14 kB / 0.8462 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.17, allocations: 16 kB / 0.8462 GB, free: 5.66 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): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.1702, allocations: 169.6 kB / 0.8464 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.1703, allocations: 23.86 kB / 0.8464 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000844/0.1711, allocations: 474 kB / 0.8468 GB, free: 4.988 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.1711, allocations: 4 kB / 0.8468 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.1711, allocations: 3.938 kB / 0.8468 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.1711, allocations: 0 / 0.8468 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00157/0.1727, allocations: 1.008 MB / 0.8478 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.1727, allocations: 256 / 0.8478 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.1728, allocations: 39.92 kB / 0.8479 GB, free: 3.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.1732, allocations: 131.3 kB / 0.848 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1733, allocations: 11.98 kB / 0.848 GB, free: 3.688 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003063/0.1763, allocations: 4.163 MB / 0.8521 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1763, allocations: 4 kB / 0.8521 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007879/0.1771, allocations: 0.614 MB / 0.8527 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.1772, allocations: 132.9 kB / 0.8528 GB, free: 14.37 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.1773, allocations: 11.94 kB / 0.8528 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1775, allocations: 11.98 kB / 0.8528 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1775, allocations: 23.97 kB / 0.8528 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.1776, allocations: 12 kB / 0.8528 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001472/0.1777, allocations: 160.2 kB / 0.853 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.1777, allocations: 0 / 0.853 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004815/0.1782, allocations: 91.88 kB / 0.8531 GB, free: 14.07 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001199/0.1794, allocations: 1.213 MB / 0.8543 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0009361/0.1803, allocations: 0.5636 MB / 0.8548 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1803, allocations: 0 / 0.8548 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.1808, allocations: 393.1 kB / 0.8552 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004799/0.1813, allocations: 40.86 kB / 0.8552 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004194/0.1855, allocations: 3.339 MB / 0.8585 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.1859, allocations: 0.7831 MB / 0.8593 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001491/0.1861, allocations: 58.25 kB / 0.8593 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.1862, allocations: 71.41 kB / 0.8594 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.1862, allocations: 3.938 kB / 0.8594 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.2222, allocations: 6.894 MB / 0.8661 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.35, allocations: 5.156 kB / 0.8661 GB, free: 0.5508 MB / 0.6075 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad_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_Examples_GridDCLoad.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.20098355365917] Failed to read output from testmodel.py, exit status != 0: 11.441364472266287 11.454810163 11.297456725 Calling exit ...