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.0008153/0.0008153, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0009287/0.0009287, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8902/0.8902, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.001606/0.001606, allocations: 226.6 kB / 259.4 MB, free: 13.03 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.6864/0.6864, allocations: 138.4 MB / 454.3 MB, free: 29.98 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 2.535e-06/2.535e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.802e-05/3.056e-05, allocations: 12.89 kB / 0.6463 GB, free: 1.895 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.2621/0.2621, allocations: 5.889 MB / 0.652 GB, free: 54.46 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.2655, allocations: 3.098 MB / 0.6551 GB, free: 52.66 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003786/0.2659, allocations: 42.38 kB / 0.6551 GB, free: 52.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.2672, allocations: 0.9361 MB / 0.656 GB, free: 52.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008256/0.268, allocations: 0.4962 MB / 0.6565 GB, free: 51.82 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009446/0.2689, allocations: 0.5082 MB / 0.657 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007798/0.2697, allocations: 1.128 MB / 0.6581 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006388/0.2704, allocations: 0.5057 MB / 0.6586 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006385/0.271, allocations: 0.6132 MB / 0.6592 GB, free: 50.55 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004625/0.2715, allocations: 432.1 kB / 0.6596 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 7.111e-05/0.2715, allocations: 59.69 kB / 0.6597 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006049/0.2721, allocations: 446.6 kB / 0.6601 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.2723, allocations: 312.1 kB / 0.6604 GB, free: 50.14 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.2725, allocations: 270.3 kB / 0.6607 GB, free: 50.03 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.2736, allocations: 1.211 MB / 0.6618 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2737, allocations: 0 / 0.6618 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2737, allocations: 1.438 kB / 0.6618 GB, free: 49.63 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.519e-05/0.2737, allocations: 3.938 kB / 0.6618 GB, free: 49.62 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.001165/0.2748, allocations: 0.9952 MB / 0.6628 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.2749, allocations: 11.28 kB / 0.6628 GB, free: 48.94 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.995e-05/0.275, allocations: 117.7 kB / 0.6629 GB, free: 48.86 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008136/0.2758, allocations: 234.2 kB / 0.6632 GB, free: 48.8 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006399/0.2764, allocations: 0.5202 MB / 0.6637 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.2765, allocations: 48.17 kB / 0.6637 GB, free: 48.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.2765, allocations: 73.5 kB / 0.6638 GB, free: 48.44 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009433/0.2775, allocations: 1.129 MB / 0.6649 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.2775, allocations: 11.91 kB / 0.6649 GB, free: 47.71 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.2775, allocations: 34.17 kB / 0.6649 GB, free: 47.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.213e-05/0.2776, allocations: 68 kB / 0.665 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007098/0.2783, allocations: 0.683 MB / 0.6657 GB, free: 47.43 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.2807, allocations: 4.501 MB / 0.6701 GB, free: 43.84 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.2812, allocations: 411 kB / 0.6704 GB, free: 43.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004458/0.2816, allocations: 385.7 kB / 0.6708 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.539e-05/0.2816, allocations: 3.781 kB / 0.6708 GB, free: 43.57 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.2817, allocations: 38.31 kB / 0.6709 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=41): time 2.474e-06/0.2817, allocations: 0 / 0.6709 GB, free: 43.52 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.002341/0.284, allocations: 1.741 MB / 0.6726 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.284, allocations: 62.91 kB / 0.6726 GB, free: 42.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.2843, allocations: 475.1 kB / 0.6731 GB, free: 42.55 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.2843, allocations: 37.33 kB / 0.6731 GB, free: 42.51 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2844, allocations: 398.4 kB / 0.6735 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.2845, allocations: 160.1 kB / 0.6736 GB, free: 42.06 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2846, allocations: 107.1 kB / 0.6737 GB, free: 42 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.156e-05/0.2847, allocations: 367 kB / 0.6741 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002274/0.2849, allocations: 242.1 kB / 0.6743 GB, free: 41.58 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.2852, allocations: 461.2 kB / 0.6748 GB, free: 41.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.2857, allocations: 0.7547 MB / 0.6755 GB, free: 40.72 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.2857, allocations: 5 kB / 0.6755 GB, free: 40.72 MB / 0.5573 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00101/0.2867, allocations: 1.043 MB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2867, allocations: 10.97 kB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.2867, allocations: 7.625 kB / 0.6765 GB, free: 40.28 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/0.2873, allocations: 323.9 kB / 0.6768 GB, free: 40.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.2875, allocations: 98.8 kB / 0.6769 GB, free: 40.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.2912, allocations: 7.055 MB / 0.6838 GB, free: 34.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/0.2915, allocations: 34.19 kB / 0.6839 GB, free: 34.33 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.2915, allocations: 26.19 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.0002793/0.2918, allocations: 241.4 kB / 0.6841 GB, free: 34.15 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.135e-05/0.2919, allocations: 69.06 kB / 0.6842 GB, free: 34.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.2929, allocations: 0.8975 MB / 0.6851 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2929, allocations: 9.219 kB / 0.6851 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.2929, allocations: 4.609 kB / 0.6851 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2929, allocations: 3.219 kB / 0.6851 GB, free: 33.72 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001681/0.2946, allocations: 1.599 MB / 0.6866 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2946, allocations: 1.062 kB / 0.6866 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.2947, allocations: 37.92 kB / 0.6867 GB, free: 32.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005307/0.2952, allocations: 318.2 kB / 0.687 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.076e-05/0.2953, allocations: 8.5 kB / 0.687 GB, free: 32.82 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003699/0.299, allocations: 7.057 MB / 0.6939 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.299, allocations: 5.125 kB / 0.6939 GB, free: 26.98 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.3, allocations: 0.9906 MB / 0.6949 GB, free: 26.47 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3002, allocations: 108.2 kB / 0.695 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.254e-05/0.3002, allocations: 8.172 kB / 0.695 GB, free: 26.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.3003, allocations: 20.83 kB / 0.695 GB, free: 26.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3004, allocations: 42.39 kB / 0.695 GB, free: 26.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.3005, allocations: 9.531 kB / 0.695 GB, free: 26.39 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002712/0.3007, allocations: 320.3 kB / 0.6953 GB, free: 26.24 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.3007, allocations: 0 / 0.6953 GB, free: 26.24 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006229/0.3014, allocations: 194.5 kB / 0.6955 GB, free: 26.22 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.001128/0.3025, allocations: 1.538 MB / 0.697 GB, free: 25.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.3036, allocations: 1.166 MB / 0.6982 GB, free: 24.46 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3036, allocations: 0 / 0.6982 GB, free: 24.46 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.3042, allocations: 0.8284 MB / 0.699 GB, free: 23.88 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/0.3049, allocations: 208.5 kB / 0.6992 GB, free: 23.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.3102, allocations: 5.901 MB / 0.7049 GB, free: 20.38 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3105, allocations: 396.2 kB / 0.7053 GB, free: 20.26 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002682/0.3108, allocations: 103.5 kB / 0.7054 GB, free: 20.25 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.311, allocations: 229.7 kB / 0.7056 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.322e-06/0.311, allocations: 0 / 0.7056 GB, free: 20.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0393/0.3503, allocations: 17.22 MB / 0.7225 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.032/7.383, allocations: 10.91 kB / 0.7225 GB, free: 11.86 MB / 0.5573 GB " [Timeout remaining time 653] (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: 10.07825780659914] Failed to read output from testmodel.py, exit status != 0: 7.473323652520776 7.479352081 7.203685836 Calling exit ...