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.0008065/0.0008065, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.0008586/0.0008586, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8811/0.8811, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.001402/0.001402, allocations: 246.1 kB / 259.4 MB, free: 13.01 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.6702/0.6702, allocations: 138.4 MB / 454.3 MB, free: 30.02 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_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: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 0.6463 GB, free: 1.875 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.897e-05/2.072e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.2299/0.2299, allocations: 5.896 MB / 0.6521 GB, free: 54.44 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00312/0.233, allocations: 3.102 MB / 0.6551 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003286/0.2334, allocations: 42.38 kB / 0.6551 GB, free: 52.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2346, allocations: 0.9371 MB / 0.656 GB, free: 52.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008165/0.2354, allocations: 498.2 kB / 0.6565 GB, free: 51.8 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.2363, allocations: 0.5049 MB / 0.657 GB, free: 51.55 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0009482/0.2372, allocations: 1.132 MB / 0.6581 GB, free: 51.03 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006157/0.2378, allocations: 0.5043 MB / 0.6586 GB, free: 50.79 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006418/0.2385, allocations: 0.6144 MB / 0.6592 GB, free: 50.54 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.2389, allocations: 425.1 kB / 0.6596 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.734e-05/0.239, allocations: 62.91 kB / 0.6597 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006003/0.2396, allocations: 447.1 kB / 0.6601 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002069/0.2398, allocations: 308.7 kB / 0.6604 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.24, allocations: 277.7 kB / 0.6607 GB, free: 50.01 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001006/0.241, allocations: 1.21 MB / 0.6618 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.241, allocations: 1.625 kB / 0.6618 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.583e-06/0.241, allocations: 0 / 0.6618 GB, free: 49.61 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.241, allocations: 1.906 kB / 0.6618 GB, free: 49.61 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001107/0.2421, allocations: 0.9976 MB / 0.6628 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.2422, allocations: 12.72 kB / 0.6628 GB, free: 48.92 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.441e-05/0.2422, allocations: 112.8 kB / 0.6629 GB, free: 48.84 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007994/0.243, allocations: 235.2 kB / 0.6632 GB, free: 48.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.2436, allocations: 0.5238 MB / 0.6637 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.2437, allocations: 49.48 kB / 0.6637 GB, free: 48.45 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.861e-05/0.2437, allocations: 65 kB / 0.6638 GB, free: 48.43 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009345/0.2447, allocations: 1.135 MB / 0.6649 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.2447, allocations: 7.656 kB / 0.6649 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.2447, allocations: 28.19 kB / 0.6649 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.2448, allocations: 70.03 kB / 0.665 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.2455, allocations: 0.6935 MB / 0.6657 GB, free: 47.42 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.2479, allocations: 4.502 MB / 0.6701 GB, free: 43.82 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.2484, allocations: 409.2 kB / 0.6705 GB, free: 43.67 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004582/0.2488, allocations: 388.5 kB / 0.6708 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2488, allocations: 7.688 kB / 0.6708 GB, free: 43.55 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.2489, allocations: 34.62 kB / 0.6709 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 2.374e-06/0.2489, allocations: 0 / 0.6709 GB, free: 43.51 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.002273/0.2511, allocations: 1.741 MB / 0.6726 GB, free: 42.83 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.2512, allocations: 60.47 kB / 0.6726 GB, free: 42.76 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.2514, allocations: 469.7 kB / 0.6731 GB, free: 42.54 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.2515, allocations: 37.3 kB / 0.6731 GB, free: 42.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.2516, allocations: 396 kB / 0.6735 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.2516, allocations: 154.6 kB / 0.6736 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-05/0.2517, allocations: 110.6 kB / 0.6737 GB, free: 42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.963e-05/0.2518, allocations: 362.8 kB / 0.6741 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.252, allocations: 249.7 kB / 0.6743 GB, free: 41.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.2522, allocations: 458.6 kB / 0.6748 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005342/0.2528, allocations: 0.7565 MB / 0.6755 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2528, allocations: 0 / 0.6755 GB, free: 40.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001015/0.2538, allocations: 1.041 MB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.2538, allocations: 11 kB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.2538, allocations: 9.125 kB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005521/0.2544, allocations: 325.5 kB / 0.6768 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.2545, allocations: 99.53 kB / 0.6769 GB, free: 40.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003667/0.2582, allocations: 7.066 MB / 0.6838 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.2584, allocations: 29.86 kB / 0.6839 GB, free: 34.32 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.2585, allocations: 26.14 kB / 0.6839 GB, free: 34.32 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 (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.0002399/0.2587, allocations: 245.8 kB / 0.6841 GB, free: 34.14 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.341e-05/0.2588, allocations: 65.81 kB / 0.6842 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009949/0.2598, allocations: 0.9004 MB / 0.6851 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.2598, allocations: 5.656 kB / 0.6851 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2598, allocations: 5.297 kB / 0.6851 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.2598, allocations: 1.5 kB / 0.6851 GB, free: 33.71 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001624/0.2614, allocations: 1.594 MB / 0.6866 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.2614, allocations: 2.219 kB / 0.6866 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-05/0.2615, allocations: 44.19 kB / 0.6867 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005091/0.262, allocations: 311.9 kB / 0.687 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.262, allocations: 12.11 kB / 0.687 GB, free: 32.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003479/0.2655, allocations: 7.064 MB / 0.6939 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2655, allocations: 2.016 kB / 0.6939 GB, free: 26.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.2665, allocations: 0.9894 MB / 0.6949 GB, free: 26.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001467/0.2667, allocations: 106 kB / 0.695 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.2667, allocations: 15.78 kB / 0.695 GB, free: 26.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.2668, allocations: 24.53 kB / 0.695 GB, free: 26.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.743e-05/0.2669, allocations: 42.08 kB / 0.695 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.756e-05/0.267, allocations: 13.62 kB / 0.695 GB, free: 26.38 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002292/0.2672, allocations: 311.5 kB / 0.6953 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.2672, allocations: 0 / 0.6953 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006212/0.2678, allocations: 195.8 kB / 0.6955 GB, free: 26.21 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 (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.001102/0.2689, allocations: 1.539 MB / 0.697 GB, free: 25.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001128/0.27, allocations: 1.164 MB / 0.6982 GB, free: 24.45 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.27, allocations: 1.281 kB / 0.6982 GB, free: 24.45 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006186/0.2707, allocations: 0.8356 MB / 0.699 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.2713, allocations: 202 kB / 0.6992 GB, free: 23.81 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.2769, allocations: 5.896 MB / 0.7049 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.2773, allocations: 399.5 kB / 0.7053 GB, free: 20.25 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.2775, allocations: 104.2 kB / 0.7054 GB, free: 20.23 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.2777, allocations: 228.5 kB / 0.7056 GB, free: 20.06 MB / 0.5573 GB Notification: Performance of SimCode: time 1.412e-06/0.2777, allocations: 0 / 0.7056 GB, free: 20.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.3131, allocations: 17.22 MB / 0.7225 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.162/7.475, allocations: 6.594 kB / 0.7225 GB, free: 11.84 MB / 0.5573 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.023153016343713] Failed to read output from testmodel.py, exit status != 0: 7.5646822564303875 7.570523952 7.327763649 Calling exit ...