Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.00122/0.00122, allocations: 105.8 kB / 16.45 MB, free: 6.5 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.001362/0.001362, allocations: 216 kB / 19.43 MB, free: 3.656 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 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.002365/0.002365, allocations: 276.4 kB / 309.1 MB, free: 3.988 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.128/1.128, allocations: 180.9 MB / 0.5333 GB, free: 13.7 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.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",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.00268/0.00268, allocations: 106.8 kB / 0.7343 GB, free: 28.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1451, allocations: 95.34 MB / 0.8274 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01599/0.1611, allocations: 14.25 MB / 0.8413 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01316/0.1742, allocations: 9.529 MB / 0.8506 GB, free: 2.012 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1753, allocations: 83.25 kB / 0.8507 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003939/0.1792, allocations: 1.691 MB / 0.8523 GB, free: 240 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003769/0.183, allocations: 1.576 MB / 0.8538 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1846, allocations: 0.7639 MB / 0.8546 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.1875, allocations: 2.536 MB / 0.8571 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.1889, allocations: 1.122 MB / 0.8582 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1902, allocations: 1.086 MB / 0.8592 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001419/0.1916, allocations: 1.206 MB / 0.8604 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.1919, allocations: 168 kB / 0.8606 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001317/0.1932, allocations: 0.8071 MB / 0.8614 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005551/0.1937, allocations: 0.6308 MB / 0.862 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008424/0.1946, allocations: 0.9368 MB / 0.8629 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002807/0.1974, allocations: 2.771 MB / 0.8656 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1974, allocations: 0 / 0.8656 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1974, allocations: 0 / 0.8656 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.1974, allocations: 0 / 0.8656 GB, free: 2.562 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003843/0.2012, allocations: 2.199 MB / 0.8677 GB, free: 312 kB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2013, allocations: 12.03 kB / 0.8677 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002549/0.2015, allocations: 198.3 kB / 0.8679 GB, free: 92 kB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01133/0.2129, allocations: 2.09 MB / 0.87 GB, free: 14 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.2155, allocations: 1.303 MB / 0.8713 GB, free: 12.64 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.954e-05/0.2156, allocations: 90.73 kB / 0.8713 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002393/0.2159, allocations: 119.9 kB / 0.8715 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.2215, allocations: 2.675 MB / 0.8741 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.307e-05/0.2215, allocations: 15.88 kB / 0.8741 GB, free: 9.59 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.2217, allocations: 55.98 kB / 0.8741 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006337/0.2223, allocations: 178.1 kB / 0.8743 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007592/0.2299, allocations: 2.799 MB / 0.877 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01524/0.2452, allocations: 10.48 MB / 0.8873 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006781/0.2519, allocations: 2.452 MB / 0.8897 GB, free: 8.973 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/0.255, allocations: 1.206 MB / 0.8908 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 6.51e-05/0.2551, allocations: 13 kB / 0.8909 GB, free: 7.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.2551, allocations: 43.56 kB / 0.8909 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=89): time 2.224e-06/0.2551, allocations: 0 / 0.8909 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=131): time 0.04636/0.3015, allocations: 13.34 MB / 0.9039 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3016, allocations: 68.72 kB / 0.904 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.303, allocations: 1.121 MB / 0.9051 GB, free: 8.922 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.3032, allocations: 49.7 kB / 0.9051 GB, free: 8.867 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.3037, allocations: 0.7248 MB / 0.9058 GB, free: 8.137 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004565/0.3042, allocations: 479.8 kB / 0.9063 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.3047, allocations: 263.5 kB / 0.9066 GB, free: 7.402 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.3049, allocations: 365.8 kB / 0.9069 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003339/0.3082, allocations: 1.335 MB / 0.9082 GB, free: 5.703 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.3117, allocations: 1.608 MB / 0.9098 GB, free: 3.996 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006911/0.3186, allocations: 2.99 MB / 0.9127 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.3186, allocations: 4 kB / 0.9127 GB, free: 0.9062 MB / 0.6544 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01147/0.3301, allocations: 4.4 MB / 0.917 GB, free: 12.45 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3301, allocations: 13.39 kB / 0.917 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3302, allocations: 8 kB / 0.917 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005152/0.3353, allocations: 1.435 MB / 0.9184 GB, free: 10.95 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/0.3374, allocations: 435.2 kB / 0.9188 GB, free: 10.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.028/0.3653, allocations: 26.7 MB / 0.9449 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.3679, allocations: 307.4 kB / 0.9452 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.368, allocations: 59.97 kB / 0.9453 GB, free: 13.65 MB / 0.7012 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007864/0.3688, allocations: 434.3 kB / 0.9457 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/0.3691, allocations: 174.9 kB / 0.9458 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/0.3806, allocations: 4.406 MB / 0.9501 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.3807, allocations: 12 kB / 0.9501 GB, free: 8.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.331e-05/0.3807, allocations: 12 kB / 0.9502 GB, free: 8.559 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.3807, allocations: 15.97 kB / 0.9502 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/0.3958, allocations: 6.728 MB / 0.9567 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.3958, allocations: 4 kB / 0.9568 GB, free: 1.641 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.3976, allocations: 379.3 kB / 0.9571 GB, free: 1.27 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/0.4023, allocations: 1.311 MB / 0.9584 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/0.4024, allocations: 43.84 kB / 0.9584 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02622/0.4286, allocations: 25.51 MB / 0.9833 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4286, allocations: 4.031 kB / 0.9833 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.4396, allocations: 4.168 MB / 0.9874 GB, free: 276 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3205/0.7602, allocations: 458.7 kB / 0.9879 GB, free: 148 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004055/0.7606, allocations: 26.03 kB / 0.9879 GB, free: 148 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002155/0.7627, allocations: 308.4 kB / 0.9882 GB, free: 148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.7631, allocations: 128 kB / 0.9883 GB, free: 148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.7633, allocations: 47.17 kB / 0.9883 GB, free: 148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001005/0.7643, allocations: 0.7524 MB / 0.9891 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.7643, allocations: 0.9375 kB / 0.9891 GB, free: 147.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002152/0.7664, allocations: 0.5682 MB / 0.9896 GB, free: 147.9 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01075/0.7772, allocations: 4.755 MB / 0.9943 GB, free: 147 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.7874, allocations: 4.963 MB / 0.9991 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.7874, allocations: 0.6562 kB / 0.9991 GB, free: 145.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.006768/0.7942, allocations: 3.421 MB / 1.002 GB, free: 144 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.7965, allocations: 0.5553 MB / 1.003 GB, free: 143.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03504/0.8315, allocations: 19.33 MB / 1.022 GB, free: 136.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000775/0.8323, allocations: 1.472 MB / 1.023 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001314/0.8336, allocations: 429.8 kB / 1.024 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/0.8343, allocations: 0.6237 MB / 1.024 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/0.8343, allocations: 3.938 kB / 1.024 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09961/0.9339, allocations: 52.03 MB / 1.075 GB, free: 83.56 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.9/17.84, allocations: 7.5 kB / 1.075 GB, free: 83.55 MB / 0.7325 GB " [Timeout remaining time 642] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_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.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.694402140099555] Failed to read output from testmodel.py, exit status != 0: 17.94566865824163 17.954642047 17.755306915 Calling exit ...