Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.0008643/0.0008643, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008556/0.0008556, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9053/0.9053, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.001429/0.001429, allocations: 234.6 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.6723/0.6723, allocations: 138.4 MB / 454.3 MB, free: 30.03 MB / 410.7 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_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6463 GB, free: 1.879 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.996e-05/2.193e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.871 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.2222/0.2222, allocations: 6.469 MB / 0.6526 GB, free: 54.17 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.2252, allocations: 3.01 MB / 0.6555 GB, free: 52.37 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.2254, allocations: 40.34 kB / 0.6556 GB, free: 52.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.2265, allocations: 0.9545 MB / 0.6565 GB, free: 51.81 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0006832/0.2272, allocations: 0.5341 MB / 0.657 GB, free: 51.49 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006871/0.2279, allocations: 449.9 kB / 0.6575 GB, free: 51.27 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0008027/0.2287, allocations: 1.271 MB / 0.6587 GB, free: 50.68 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.2292, allocations: 0.5354 MB / 0.6592 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005569/0.2298, allocations: 0.6713 MB / 0.6599 GB, free: 50.15 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004329/0.2302, allocations: 470.8 kB / 0.6603 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.2303, allocations: 65.75 kB / 0.6604 GB, free: 50.02 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004462/0.2307, allocations: 351.8 kB / 0.6607 GB, free: 49.91 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.2309, allocations: 334.8 kB / 0.6611 GB, free: 49.76 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.2311, allocations: 310.3 kB / 0.6614 GB, free: 49.64 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009281/0.2321, allocations: 1.255 MB / 0.6626 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2321, allocations: 2.531 kB / 0.6626 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2321, allocations: 1.938 kB / 0.6626 GB, free: 49.22 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.2321, allocations: 0 / 0.6626 GB, free: 49.22 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001143/0.2332, allocations: 1.1 MB / 0.6637 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2332, allocations: 12.41 kB / 0.6637 GB, free: 48.51 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.569e-05/0.2333, allocations: 127.9 kB / 0.6638 GB, free: 48.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.2341, allocations: 248 kB / 0.664 GB, free: 48.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005578/0.2347, allocations: 0.5399 MB / 0.6646 GB, free: 48.03 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.639e-05/0.2347, allocations: 47.58 kB / 0.6646 GB, free: 48.01 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.945e-05/0.2348, allocations: 66.8 kB / 0.6647 GB, free: 47.99 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.2357, allocations: 1.335 MB / 0.666 GB, free: 47.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.2357, allocations: 7.484 kB / 0.666 GB, free: 47.06 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.2357, allocations: 39.11 kB / 0.666 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.2358, allocations: 81.62 kB / 0.6661 GB, free: 47.03 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.2366, allocations: 0.7579 MB / 0.6668 GB, free: 46.75 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.239, allocations: 4.615 MB / 0.6713 GB, free: 43.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/0.2396, allocations: 0.5097 MB / 0.6718 GB, free: 42.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002604/0.2398, allocations: 282.3 kB / 0.6721 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.2399, allocations: 8.906 kB / 0.6721 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.451e-05/0.2399, allocations: 40.88 kB / 0.6722 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=47): time 1.352e-06/0.2399, allocations: 0 / 0.6722 GB, free: 42.79 MB / 0.5573 GB Notification: Performance of matching and sorting (n=48): time 0.002025/0.2419, allocations: 1.698 MB / 0.6738 GB, free: 42.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.2419, allocations: 55.53 kB / 0.6739 GB, free: 42.04 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004096/0.2423, allocations: 0.5752 MB / 0.6744 GB, free: 41.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2423, allocations: 37.23 kB / 0.6745 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.2425, allocations: 428.2 kB / 0.6749 GB, free: 41.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.2425, allocations: 177.5 kB / 0.675 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.2427, allocations: 126.1 kB / 0.6752 GB, free: 41.17 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.062e-05/0.2427, allocations: 373.7 kB / 0.6755 GB, free: 40.83 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.243, allocations: 274.2 kB / 0.6758 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.2433, allocations: 499.3 kB / 0.6763 GB, free: 40.37 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005657/0.2438, allocations: 0.8138 MB / 0.677 GB, free: 39.83 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2438, allocations: 0 / 0.677 GB, free: 39.83 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001016/0.2449, allocations: 1.078 MB / 0.6781 GB, free: 39.37 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.2449, allocations: 14.06 kB / 0.6781 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.2449, allocations: 7.25 kB / 0.6781 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004826/0.2454, allocations: 275.5 kB / 0.6784 GB, free: 39.28 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002456/0.2456, allocations: 133 kB / 0.6785 GB, free: 39.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003485/0.2491, allocations: 6.676 MB / 0.685 GB, free: 33.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.2494, allocations: 40.45 kB / 0.6851 GB, free: 33.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.2494, allocations: 28.03 kB / 0.6851 GB, free: 33.57 MB / 0.5573 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000244/0.2497, allocations: 252.8 kB / 0.6853 GB, free: 33.39 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.2498, allocations: 80.84 kB / 0.6854 GB, free: 33.35 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009652/0.2507, allocations: 0.8728 MB / 0.6863 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2507, allocations: 5.375 kB / 0.6863 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.2507, allocations: 7.344 kB / 0.6863 GB, free: 32.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.2507, allocations: 7 kB / 0.6863 GB, free: 32.95 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001723/0.2525, allocations: 1.608 MB / 0.6879 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.2525, allocations: 2.078 kB / 0.6879 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001433/0.2526, allocations: 59.83 kB / 0.6879 GB, free: 32.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004485/0.2531, allocations: 271.1 kB / 0.6882 GB, free: 32.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2531, allocations: 10.72 kB / 0.6882 GB, free: 32.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003114/0.2562, allocations: 6.675 MB / 0.6947 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2562, allocations: 5.062 kB / 0.6947 GB, free: 26.36 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009836/0.2572, allocations: 0.9757 MB / 0.6957 GB, free: 25.85 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.2574, allocations: 123.4 kB / 0.6958 GB, free: 25.79 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.961e-05/0.2574, allocations: 12.14 kB / 0.6958 GB, free: 25.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.2576, allocations: 31.53 kB / 0.6958 GB, free: 25.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.651e-05/0.2577, allocations: 47.62 kB / 0.6959 GB, free: 25.76 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.2577, allocations: 15.59 kB / 0.6959 GB, free: 25.75 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003127/0.258, allocations: 390 kB / 0.6962 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.258, allocations: 0 / 0.6962 GB, free: 25.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006007/0.2586, allocations: 224.3 kB / 0.6965 GB, free: 25.55 MB / 0.5573 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001013/0.2596, allocations: 1.537 MB / 0.698 GB, free: 24.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001168/0.2608, allocations: 1.222 MB / 0.6992 GB, free: 23.79 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.2608, allocations: 1.156 kB / 0.6992 GB, free: 23.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006313/0.2614, allocations: 0.864 MB / 0.7 GB, free: 23.19 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006386/0.2621, allocations: 223.3 kB / 0.7002 GB, free: 23.13 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005426/0.2675, allocations: 6.409 MB / 0.7065 GB, free: 19.48 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.2678, allocations: 423.5 kB / 0.7069 GB, free: 19.34 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002966/0.2681, allocations: 117.9 kB / 0.707 GB, free: 19.32 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.2683, allocations: 256.1 kB / 0.7072 GB, free: 19.13 MB / 0.5573 GB Notification: Performance of SimCode: time 8.52e-07/0.2683, allocations: 0 / 0.7072 GB, free: 19.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03412/0.3024, allocations: 19.47 MB / 0.7262 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.341/7.643, allocations: 12.25 kB / 0.7263 GB, free: 7.961 MB / 0.5573 GB " [Timeout remaining time 652] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_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_R.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.273119585588574] Failed to read output from testmodel.py, exit status != 0: 7.7343019945546985 7.744679358 7.510214702 Calling exit ...