Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001598/0.001598, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.002231/0.002231, allocations: 214.2 kB / 23.78 MB, free: 4.523 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.57/1.57, allocations: 230.6 MB / 257.6 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.013/1.013, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 178] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.002153/0.002153, allocations: 62.84 kB / 0.642 GB, free: 9.938 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2438, allocations: 89.19 MB / 0.7291 GB, free: 0.832 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.01102/0.2548, allocations: 6.521 MB / 0.7354 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006886/0.2617, allocations: 3.062 MB / 0.7384 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009693/0.2626, allocations: 35.69 kB / 0.7384 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.2659, allocations: 0.9609 MB / 0.7394 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002206/0.2681, allocations: 0.5168 MB / 0.7399 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001568/0.2696, allocations: 450.2 kB / 0.7403 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002339/0.272, allocations: 1.229 MB / 0.7415 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2733, allocations: 0.5376 MB / 0.742 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.2746, allocations: 0.4904 MB / 0.7425 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.2758, allocations: 0.5448 MB / 0.7431 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002807/0.2761, allocations: 68 kB / 0.7431 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001068/0.2772, allocations: 343.3 kB / 0.7435 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.2778, allocations: 323.1 kB / 0.7438 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009592/0.2787, allocations: 382.2 kB / 0.7441 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002549/0.2813, allocations: 1.237 MB / 0.7453 GB, free: 100 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.2813, allocations: 0 / 0.7453 GB, free: 100 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.705e-06/0.2813, allocations: 3.938 kB / 0.7453 GB, free: 96 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.783e-05/0.2813, allocations: 0 / 0.7453 GB, free: 96 kB / 0.5606 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.002429/0.2837, allocations: 1.112 MB / 0.7464 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.2838, allocations: 8.031 kB / 0.7464 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.203e-05/0.2838, allocations: 21.5 kB / 0.7464 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.284, allocations: 122.7 kB / 0.7466 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/0.2856, allocations: 240.1 kB / 0.7468 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.2866, allocations: 0.536 MB / 0.7473 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.962e-05/0.2867, allocations: 49.67 kB / 0.7474 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.2868, allocations: 68.3 kB / 0.7474 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.2887, allocations: 1.336 MB / 0.7487 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.2887, allocations: 11.89 kB / 0.7487 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.2888, allocations: 31.98 kB / 0.7488 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000176/0.289, allocations: 85.25 kB / 0.7489 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001342/0.2903, allocations: 0.7543 MB / 0.7496 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005775/0.2961, allocations: 4.635 MB / 0.7541 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2972, allocations: 0.5125 MB / 0.7546 GB, free: 6.156 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004591/0.2976, allocations: 286 kB / 0.7549 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.2977, allocations: 4.438 kB / 0.7549 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.2977, allocations: 47 kB / 0.7549 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.2977, allocations: 0 / 0.7549 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004161/0.3019, allocations: 1.682 MB / 0.7566 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3019, allocations: 55.84 kB / 0.7566 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007983/0.3027, allocations: 0.5626 MB / 0.7572 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.3028, allocations: 33.7 kB / 0.7572 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.3031, allocations: 432.1 kB / 0.7576 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3033, allocations: 182.4 kB / 0.7578 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002238/0.3035, allocations: 126.6 kB / 0.7579 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.3037, allocations: 382.6 kB / 0.7583 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004248/0.3042, allocations: 277.8 kB / 0.7586 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.3048, allocations: 496.9 kB / 0.759 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/0.306, allocations: 0.8044 MB / 0.7598 GB, free: 0.5664 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.306, allocations: 8 kB / 0.7598 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.522/0.828, allocations: 1.07 MB / 0.7609 GB, free: 34.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.8281, allocations: 13.69 kB / 0.7609 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.8281, allocations: 8.656 kB / 0.7609 GB, free: 34.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008974/0.829, allocations: 273.6 kB / 0.7612 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/0.8295, allocations: 124.9 kB / 0.7613 GB, free: 34.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005671/0.8352, allocations: 6.68 MB / 0.7678 GB, free: 29.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007496/0.8359, allocations: 38.33 kB / 0.7678 GB, free: 29.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.002e-05/0.836, allocations: 30.72 kB / 0.7679 GB, free: 29.32 MB / 0.5762 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.0003835/0.8364, allocations: 255.5 kB / 0.7681 GB, free: 29.21 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.8365, allocations: 78.02 kB / 0.7682 GB, free: 29.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.838, allocations: 0.8807 MB / 0.769 GB, free: 29.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.838, allocations: 2.719 kB / 0.769 GB, free: 29.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.838, allocations: 10.91 kB / 0.7691 GB, free: 29.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.838, allocations: 6.609 kB / 0.7691 GB, free: 29.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002452/0.8405, allocations: 1.607 MB / 0.7706 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/0.8405, allocations: 2.875 kB / 0.7706 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.8407, allocations: 61.75 kB / 0.7707 GB, free: 28.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007715/0.8415, allocations: 270.7 kB / 0.7709 GB, free: 28.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.8416, allocations: 14.44 kB / 0.771 GB, free: 28.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005301/0.8469, allocations: 6.669 MB / 0.7775 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.8469, allocations: 2.062 kB / 0.7775 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.8485, allocations: 0.9801 MB / 0.7784 GB, free: 23.49 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.8488, allocations: 118.3 kB / 0.7785 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/0.8489, allocations: 11.66 kB / 0.7786 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.8493, allocations: 29.72 kB / 0.7786 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.8494, allocations: 48.53 kB / 0.7786 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.046e-05/0.8495, allocations: 15.55 kB / 0.7786 GB, free: 23.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005517/0.85, allocations: 394.2 kB / 0.779 GB, free: 23.34 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.85, allocations: 0 / 0.779 GB, free: 23.34 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001032/0.851, allocations: 223.7 kB / 0.7792 GB, free: 23.34 MB / 0.5762 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.001813/0.8529, allocations: 1.532 MB / 0.7807 GB, free: 22.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002156/0.855, allocations: 1.238 MB / 0.7819 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.855, allocations: 1.906 kB / 0.7819 GB, free: 21.81 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.8565, allocations: 0.8645 MB / 0.7828 GB, free: 21.22 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.8577, allocations: 222.7 kB / 0.783 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.87, allocations: 6.404 MB / 0.7893 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.8707, allocations: 418.1 kB / 0.7897 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000561/0.8713, allocations: 132 kB / 0.7898 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002986/0.8716, allocations: 250.8 kB / 0.79 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/0.8716, allocations: 0.9844 kB / 0.79 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08806/0.9596, allocations: 19.17 MB / 0.8087 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.76/13.72, allocations: 11.28 kB / 0.8087 GB, free: 10.44 MB / 0.5762 GB " [Timeout remaining time 646] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.031759939040057] Failed to read output from testmodel.py, exit status != 0: 13.899883506004699 13.915927552 13.63036386 Calling exit ...