Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.001201/0.001201, allocations: 107.3 kB / 16.46 MB, free: 6.453 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.001251/0.001251, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.298/1.298, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.002377/0.002377, allocations: 280.2 kB / 309.1 MB, free: 3.957 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.095/1.095, allocations: 180.9 MB / 0.5333 GB, free: 13.76 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.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.00263/0.00263, allocations: 103.8 kB / 0.7343 GB, free: 28.41 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1443, allocations: 95.34 MB / 0.8274 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.007738/0.152, allocations: 6.187 MB / 0.8334 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004924/0.1569, allocations: 3.219 MB / 0.8365 GB, free: 436 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004084/0.1573, allocations: 39.62 kB / 0.8366 GB, free: 396 kB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.1596, allocations: 0.9402 MB / 0.8375 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.1606, allocations: 497.5 kB / 0.838 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001076/0.1617, allocations: 488.2 kB / 0.8384 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001175/0.1629, allocations: 1.092 MB / 0.8395 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007119/0.1636, allocations: 0.5142 MB / 0.84 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000542/0.1641, allocations: 454.3 kB / 0.8404 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005609/0.1647, allocations: 0.4903 MB / 0.8409 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.744e-05/0.1648, allocations: 56 kB / 0.841 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007626/0.1655, allocations: 498.9 kB / 0.8414 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1658, allocations: 303.1 kB / 0.8417 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.1661, allocations: 397.9 kB / 0.8421 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.1673, allocations: 1.183 MB / 0.8433 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1674, allocations: 0 / 0.8433 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1674, allocations: 0 / 0.8433 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.1674, allocations: 0 / 0.8433 GB, free: 9.516 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001563/0.1689, allocations: 1.074 MB / 0.8443 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.169, allocations: 12.03 kB / 0.8443 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001322/0.1691, allocations: 118.7 kB / 0.8444 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.1705, allocations: 216.2 kB / 0.8447 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008186/0.1713, allocations: 0.5887 MB / 0.8452 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.1714, allocations: 41.69 kB / 0.8453 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.1715, allocations: 76.3 kB / 0.8453 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.1728, allocations: 1.03 MB / 0.8463 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.1728, allocations: 19.83 kB / 0.8464 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.185e-05/0.1729, allocations: 27.98 kB / 0.8464 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.74e-05/0.173, allocations: 69.27 kB / 0.8465 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009882/0.174, allocations: 0.6918 MB / 0.8471 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.1788, allocations: 5.726 MB / 0.8527 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008145/0.1796, allocations: 0.5578 MB / 0.8533 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.1804, allocations: 396.6 kB / 0.8536 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.1804, allocations: 4 kB / 0.8536 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.1805, allocations: 34.56 kB / 0.8537 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 1.864e-06/0.1805, allocations: 4 kB / 0.8537 GB, free: 14.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004159/0.1846, allocations: 2.019 MB / 0.8557 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1847, allocations: 55.41 kB / 0.8557 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00046/0.1851, allocations: 454.8 kB / 0.8561 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.1852, allocations: 29.7 kB / 0.8562 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.1854, allocations: 396.1 kB / 0.8566 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/0.1856, allocations: 162.6 kB / 0.8567 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001594/0.1857, allocations: 118.2 kB / 0.8568 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1859, allocations: 362.8 kB / 0.8572 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.1862, allocations: 241.2 kB / 0.8574 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005195/0.1867, allocations: 457 kB / 0.8578 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009241/0.1877, allocations: 0.7526 MB / 0.8586 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1877, allocations: 0 / 0.8586 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001771/0.1894, allocations: 1.031 MB / 0.8596 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1894, allocations: 8 kB / 0.8596 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.1895, allocations: 11.94 kB / 0.8596 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000987/0.1904, allocations: 315.2 kB / 0.8599 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002966/0.1907, allocations: 91.83 kB / 0.86 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007272/0.198, allocations: 7.494 MB / 0.8673 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003936/0.1984, allocations: 28.03 kB / 0.8673 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.1984, allocations: 28 kB / 0.8674 GB, free: 15.23 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003175/0.1988, allocations: 245.6 kB / 0.8676 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.307e-05/0.1989, allocations: 63.56 kB / 0.8676 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.2005, allocations: 0.8804 MB / 0.8685 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.2005, allocations: 4 kB / 0.8685 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2005, allocations: 4 kB / 0.8685 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/0.2005, allocations: 4 kB / 0.8685 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002541/0.2031, allocations: 1.677 MB / 0.8702 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.264e-06/0.2031, allocations: 4 kB / 0.8702 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/0.2032, allocations: 47.91 kB / 0.8702 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009058/0.2042, allocations: 303.3 kB / 0.8705 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.2042, allocations: 12 kB / 0.8705 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007014/0.2112, allocations: 7.464 MB / 0.8778 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2112, allocations: 3.938 kB / 0.8778 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.2128, allocations: 0.976 MB / 0.8788 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.2131, allocations: 176.7 kB / 0.8789 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.2131, allocations: 12 kB / 0.8789 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002637/0.2134, allocations: 23.92 kB / 0.879 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2135, allocations: 43.88 kB / 0.879 GB, free: 2.547 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.2135, allocations: 12 kB / 0.879 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003346/0.2138, allocations: 306.9 kB / 0.8793 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.2138, allocations: 0 / 0.8793 GB, free: 2.238 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007354/0.2146, allocations: 192 kB / 0.8795 GB, free: 2.051 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 19 * 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): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001873/0.2165, allocations: 1.537 MB / 0.881 GB, free: 464 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00181/0.2183, allocations: 1.16 MB / 0.8821 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2183, allocations: 0 / 0.8821 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.2195, allocations: 0.8227 MB / 0.8829 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/0.2204, allocations: 212.7 kB / 0.8831 GB, free: 14.17 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007746/0.2281, allocations: 5.83 MB / 0.8888 GB, free: 8.012 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.2288, allocations: 0.9881 MB / 0.8898 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.000265/0.229, allocations: 97.17 kB / 0.8899 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002652/0.2293, allocations: 227.4 kB / 0.8901 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.2293, allocations: 0 / 0.8901 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05208/0.2814, allocations: 15.41 MB / 0.9051 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.779/10.06, allocations: 8.828 kB / 0.9051 GB, free: 7.543 MB / 0.6544 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_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_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.799108036793768] Failed to read output from testmodel.py, exit status != 0: 10.154806008096784 10.167765286 9.997836962 Calling exit ...