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.001334/0.001334, 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.002474/0.002474, allocations: 219 kB / 22.26 MB, free: 5.125 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.98 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.002546/0.002546, allocations: 292.4 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 13.01 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.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.002885/0.002885, allocations: 105.5 kB / 0.7396 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1618, allocations: 95.38 MB / 0.8327 GB, free: 8.664 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004826/0.1666, allocations: 3.194 MB / 0.8358 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003466/0.1701, allocations: 2.034 MB / 0.8378 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001981/0.1703, allocations: 4 kB / 0.8378 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0009873/0.1713, allocations: 290.8 kB / 0.8381 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.1718, allocations: 195.1 kB / 0.8383 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.1725, allocations: 260.9 kB / 0.8385 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.173, allocations: 318.9 kB / 0.8388 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003319/0.1733, allocations: 160.8 kB / 0.839 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1735, allocations: 131.6 kB / 0.8391 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.1739, allocations: 163.4 kB / 0.8393 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.534e-05/0.1739, allocations: 20 kB / 0.8393 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.1747, allocations: 423.2 kB / 0.8397 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.1748, allocations: 91.72 kB / 0.8398 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000142/0.175, allocations: 119.4 kB / 0.8399 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0007282/0.1757, allocations: 498.3 kB / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1757, allocations: 0 / 0.8404 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.407e-06/0.1757, allocations: 3.984 kB / 0.8404 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.1757, allocations: 0 / 0.8404 GB, free: 0.7734 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.0009007/0.1766, allocations: 0.4893 MB / 0.8409 GB, free: 256 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1767, allocations: 17.34 kB / 0.8409 GB, free: 240 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.1767, allocations: 58.72 kB / 0.8409 GB, free: 172 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007974/0.1775, allocations: 120.6 kB / 0.841 GB, free: 52 kB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.1779, allocations: 204.5 kB / 0.8412 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1779, allocations: 16.8 kB / 0.8413 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.037e-05/0.178, allocations: 20.38 kB / 0.8413 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005571/0.1785, allocations: 356.8 kB / 0.8416 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1786, allocations: 0 / 0.8416 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.861e-05/0.1786, allocations: 8 kB / 0.8416 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.1786, allocations: 24.42 kB / 0.8417 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.1791, allocations: 297.5 kB / 0.8419 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.1814, allocations: 1.624 MB / 0.8435 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000488/0.1819, allocations: 237.1 kB / 0.8437 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/0.182, allocations: 101.6 kB / 0.8438 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.117e-05/0.1821, allocations: 19.92 kB / 0.8439 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.1822, allocations: 42.84 kB / 0.8439 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.1822, allocations: 0 / 0.8439 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of matching and sorting (n=23): time 0.002534/0.1847, allocations: 0.8906 MB / 0.8448 GB, free: 12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.1848, allocations: 88.97 kB / 0.8449 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.185, allocations: 212.5 kB / 0.8451 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/0.185, allocations: 29.7 kB / 0.8451 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.1851, allocations: 184.4 kB / 0.8453 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1852, allocations: 79.42 kB / 0.8453 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1853, allocations: 69.66 kB / 0.8454 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.1855, allocations: 330.8 kB / 0.8457 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/0.1857, allocations: 131.9 kB / 0.8458 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.186, allocations: 203.1 kB / 0.846 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005026/0.1865, allocations: 376.4 kB / 0.8464 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1865, allocations: 0 / 0.8464 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009272/0.1874, allocations: 0.5122 MB / 0.8469 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.1874, allocations: 4 kB / 0.8469 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1874, allocations: 4 kB / 0.8469 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/0.188, allocations: 155.4 kB / 0.8471 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1882, allocations: 55.91 kB / 0.8471 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/0.1916, allocations: 3.992 MB / 0.851 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.1918, allocations: 15.98 kB / 0.851 GB, free: 5.172 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.569e-05/0.1918, allocations: 16 kB / 0.851 GB, free: 5.156 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.0001975/0.192, allocations: 165.6 kB / 0.8512 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.365e-05/0.1921, allocations: 19.91 kB / 0.8512 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009213/0.193, allocations: 474.6 kB / 0.8517 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.193, allocations: 4 kB / 0.8517 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.193, allocations: 4 kB / 0.8517 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.193, allocations: 7.922 kB / 0.8517 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.1948, allocations: 0.9718 MB / 0.8526 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.1948, allocations: 0 / 0.8526 GB, free: 3.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001453/0.1949, allocations: 39.92 kB / 0.8527 GB, free: 3.371 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004212/0.1953, allocations: 139.3 kB / 0.8528 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1953, allocations: 8 kB / 0.8528 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003259/0.1986, allocations: 3.949 MB / 0.8567 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1986, allocations: 4.031 kB / 0.8567 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009057/0.1995, allocations: 0.621 MB / 0.8573 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1996, allocations: 55.77 kB / 0.8573 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.635e-05/0.1997, allocations: 8 kB / 0.8573 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002354/0.1999, allocations: 23.92 kB / 0.8574 GB, free: 14.22 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.2, allocations: 31.94 kB / 0.8574 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.2, allocations: 11.98 kB / 0.8574 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001874/0.2002, allocations: 157.5 kB / 0.8576 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2002, allocations: 0 / 0.8576 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005564/0.2007, allocations: 99.86 kB / 0.8576 GB, free: 13.93 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.001259/0.202, allocations: 1.199 MB / 0.8588 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.203, allocations: 0.5629 MB / 0.8594 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.203, allocations: 0 / 0.8594 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005694/0.2036, allocations: 398.1 kB / 0.8597 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.2041, allocations: 44.59 kB / 0.8598 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004455/0.2086, allocations: 3.33 MB / 0.863 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.209, allocations: 0.7753 MB / 0.8638 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001856/0.2092, allocations: 58.23 kB / 0.8639 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.2093, allocations: 71.42 kB / 0.8639 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.2093, allocations: 0 / 0.8639 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04119/0.2505, allocations: 7.145 MB / 0.8709 GB, free: 184 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/12.85, allocations: 15.94 kB / 0.8709 GB, free: 168 kB / 0.6075 GB " [Timeout remaining time 647] (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: 17.073492747000273] Failed to read output from testmodel.py, exit status != 0: 12.989881514000444 13.016115459 12.835221188 Calling exit ...