Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.001914/0.001914, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002232/0.002232, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.785 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.002494/0.002494, allocations: 295.8 kB / 312.7 MB, free: 2.578 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.215/1.215, allocations: 180.6 MB / 0.5369 GB, free: 14.56 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.002965/0.002965, allocations: 107.2 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1737, allocations: 95.39 MB / 0.8327 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008882/0.1826, allocations: 5.975 MB / 0.8385 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005807/0.1884, allocations: 3.145 MB / 0.8416 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004963/0.1889, allocations: 43.62 kB / 0.8416 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.1916, allocations: 0.9393 MB / 0.8425 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.1929, allocations: 497.5 kB / 0.843 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00132/0.1943, allocations: 0.5047 MB / 0.8435 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001543/0.1958, allocations: 1.1 MB / 0.8446 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009529/0.1968, allocations: 0.5063 MB / 0.8451 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008772/0.1976, allocations: 462.3 kB / 0.8455 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.1985, allocations: 470.1 kB / 0.8459 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.1986, allocations: 60 kB / 0.846 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.1996, allocations: 439 kB / 0.8464 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004066/0.2, allocations: 295.1 kB / 0.8467 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005315/0.2005, allocations: 334.4 kB / 0.847 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.2023, allocations: 1.195 MB / 0.8482 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2023, allocations: 3.938 kB / 0.8482 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2023, allocations: 3.938 kB / 0.8482 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.66e-05/0.2024, allocations: 0 / 0.8482 GB, free: 8.344 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.002089/0.2045, allocations: 1.003 MB / 0.8492 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.2045, allocations: 9.344 kB / 0.8492 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001525/0.2047, allocations: 118.7 kB / 0.8493 GB, free: 7.172 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001509/0.2062, allocations: 224.2 kB / 0.8495 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.2073, allocations: 0.5283 MB / 0.85 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.812e-05/0.2073, allocations: 45.67 kB / 0.8501 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.2074, allocations: 68.31 kB / 0.8501 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.209, allocations: 1.138 MB / 0.8512 GB, free: 5.012 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.2091, allocations: 7.938 kB / 0.8513 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.587e-05/0.2091, allocations: 27.98 kB / 0.8513 GB, free: 4.977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/0.2092, allocations: 69.27 kB / 0.8513 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.2104, allocations: 0.6918 MB / 0.852 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/0.2155, allocations: 4.514 MB / 0.8564 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008039/0.2164, allocations: 406.3 kB / 0.8568 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.2172, allocations: 392.6 kB / 0.8572 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.2172, allocations: 4 kB / 0.8572 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2172, allocations: 34.56 kB / 0.8572 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=41): time 2.054e-06/0.2172, allocations: 0 / 0.8572 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42): time 0.004399/0.2216, allocations: 1.711 MB / 0.8589 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.2217, allocations: 63.41 kB / 0.859 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005425/0.2222, allocations: 474.7 kB / 0.8594 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.2223, allocations: 33.7 kB / 0.8594 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/0.2226, allocations: 396.1 kB / 0.8598 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.2227, allocations: 154.7 kB / 0.86 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/0.2229, allocations: 114.2 kB / 0.8601 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001887/0.2231, allocations: 362.8 kB / 0.8604 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.2235, allocations: 241.2 kB / 0.8607 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/0.224, allocations: 457 kB / 0.8611 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.225, allocations: 0.748 MB / 0.8618 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.2251, allocations: 4 kB / 0.8618 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001947/0.227, allocations: 1.039 MB / 0.8628 GB, free: 8.668 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.227, allocations: 11.94 kB / 0.8628 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.227, allocations: 7.938 kB / 0.8629 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.2281, allocations: 319.6 kB / 0.8632 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.2284, allocations: 99.81 kB / 0.8633 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007909/0.2363, allocations: 7.022 MB / 0.8701 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004656/0.2368, allocations: 32.02 kB / 0.8701 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.2368, allocations: 24 kB / 0.8702 GB, free: 0.6797 MB / 0.6075 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.00036/0.2372, allocations: 253.6 kB / 0.8704 GB, free: 436 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2373, allocations: 63.56 kB / 0.8705 GB, free: 372 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/0.2391, allocations: 0.8809 MB / 0.8713 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.2391, allocations: 4 kB / 0.8713 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2391, allocations: 4 kB / 0.8713 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.2391, allocations: 7.984 kB / 0.8713 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002856/0.242, allocations: 1.582 MB / 0.8729 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.242, allocations: 0 / 0.8729 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.2422, allocations: 47.89 kB / 0.8729 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009325/0.2431, allocations: 303.5 kB / 0.8732 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.475e-05/0.2431, allocations: 8 kB / 0.8732 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007841/0.251, allocations: 7.028 MB / 0.8801 GB, free: 5.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.251, allocations: 3.938 kB / 0.8801 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.2528, allocations: 0.9807 MB / 0.8811 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000297/0.2531, allocations: 95.58 kB / 0.8811 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.802e-05/0.2532, allocations: 12 kB / 0.8812 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000282/0.2535, allocations: 23.92 kB / 0.8812 GB, free: 4.777 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.2536, allocations: 47.86 kB / 0.8812 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.2536, allocations: 15.92 kB / 0.8812 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003723/0.254, allocations: 314.9 kB / 0.8815 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.254, allocations: 0 / 0.8815 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007942/0.2548, allocations: 192 kB / 0.8817 GB, free: 4.223 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.002093/0.2569, allocations: 1.53 MB / 0.8832 GB, free: 2.633 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001987/0.2589, allocations: 1.163 MB / 0.8844 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.2589, allocations: 0 / 0.8844 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.2602, allocations: 0.8308 MB / 0.8852 GB, free: 0.5352 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.2612, allocations: 201.1 kB / 0.8854 GB, free: 364 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008845/0.27, allocations: 5.879 MB / 0.8911 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.2705, allocations: 399 kB / 0.8915 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.2708, allocations: 101.2 kB / 0.8916 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.2711, allocations: 227.4 kB / 0.8918 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of SimCode: time 9.12e-07/0.2711, allocations: 0 / 0.8918 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06219/0.3333, allocations: 16.97 MB / 0.9084 GB, free: 8.828 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.53, allocations: 15.92 kB / 0.9084 GB, free: 8.816 MB / 0.6544 GB " [Timeout remaining time 647] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.855365706142038] Failed to read output from testmodel.py, exit status != 0: 12.64765647193417 12.664367096 12.458709399 Calling exit ...