Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.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.001374/0.001374, allocations: 118.8 kB / 17.84 MB, free: 5.234 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.001777/0.001777, allocations: 202.3 kB / 20.79 MB, free: 2.297 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.543/1.543, allocations: 230.6 MB / 254.2 MB, free: 15.1 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.019/1.019, allocations: 150 MB / 460.2 MB, free: 5.34 MB / 350.1 MB " [Timeout remaining time 179] 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",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.001972/0.001972, allocations: 68.11 kB / 0.6368 GB, free: 30.43 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1556, allocations: 89.14 MB / 0.7239 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04205/0.1976, allocations: 33.16 MB / 0.7563 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02006/0.2177, allocations: 10.42 MB / 0.7664 GB, free: 8.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.2204, allocations: 198.5 kB / 0.7666 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01045/0.2309, allocations: 3.773 MB / 0.7703 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006754/0.2376, allocations: 1.952 MB / 0.7722 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007025/0.2447, allocations: 2.133 MB / 0.7743 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01094/0.2556, allocations: 7.321 MB / 0.7814 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01572/0.2713, allocations: 7.046 MB / 0.7883 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007703/0.279, allocations: 3.272 MB / 0.7915 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007544/0.2866, allocations: 3.676 MB / 0.7951 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002127/0.2887, allocations: 0.6484 MB / 0.7957 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004999/0.2937, allocations: 1.798 MB / 0.7975 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004463/0.2982, allocations: 2.615 MB / 0.8 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006767/0.3049, allocations: 2.894 MB / 0.8029 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.01642/0.3213, allocations: 10.14 MB / 0.8128 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.3214, allocations: 3.984 kB / 0.8128 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3214, allocations: 0 / 0.8128 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003224/0.3217, allocations: 0 / 0.8128 GB, free: 8.645 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01408/0.3358, allocations: 5.128 MB / 0.8178 GB, free: 3.438 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.3358, allocations: 11.97 kB / 0.8178 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001586/0.336, allocations: 125.5 kB / 0.8179 GB, free: 3.301 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001946/0.3379, allocations: 0.682 MB / 0.8186 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006435/0.3443, allocations: 0.9774 MB / 0.8195 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008228/0.3526, allocations: 3.059 MB / 0.8225 GB, free: 14.51 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000517/0.3531, allocations: 349.7 kB / 0.8229 GB, free: 14.16 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.3553, allocations: 464.3 kB / 0.8233 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/0.3754, allocations: 7.667 MB / 0.8308 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002198/0.3756, allocations: 19.83 kB / 0.8308 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001266/0.3769, allocations: 200 kB / 0.831 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004702/0.3773, allocations: 316.9 kB / 0.8313 GB, free: 5.168 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01297/0.3903, allocations: 5.71 MB / 0.8369 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3784/0.7687, allocations: 34.89 MB / 0.8709 GB, free: 114.2 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.7714, allocations: 2.013 MB / 0.8729 GB, free: 113.6 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.7727, allocations: 1.119 MB / 0.874 GB, free: 113.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.62e-05/0.7728, allocations: 17.31 kB / 0.874 GB, free: 113.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.7728, allocations: 46.53 kB / 0.8741 GB, free: 113.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=133): time 2.815e-06/0.7728, allocations: 2.844 kB / 0.8741 GB, free: 113.5 MB / 0.67 GB Notification: Performance of matching and sorting (n=136): time 0.01321/0.786, allocations: 7.119 MB / 0.881 GB, free: 111.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.7861, allocations: 66.78 kB / 0.8811 GB, free: 111.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.7886, allocations: 1.486 MB / 0.8825 GB, free: 111 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.7887, allocations: 46.36 kB / 0.8826 GB, free: 111 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001273/0.79, allocations: 2.069 MB / 0.8846 GB, free: 109.7 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003612/0.7904, allocations: 0.499 MB / 0.8851 GB, free: 109.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004654/0.7908, allocations: 351.2 kB / 0.8854 GB, free: 109.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 3.915e-05/0.7909, allocations: 306.6 kB / 0.8857 GB, free: 108.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.792, allocations: 0.9123 MB / 0.8866 GB, free: 108.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.7934, allocations: 1.595 MB / 0.8882 GB, free: 107.4 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00275/0.7961, allocations: 2.734 MB / 0.8908 GB, free: 105.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.289e-05/0.7961, allocations: 10.88 kB / 0.8908 GB, free: 105.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005244/0.8014, allocations: 3.511 MB / 0.8943 GB, free: 104.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.8014, allocations: 13.31 kB / 0.8943 GB, free: 104.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.627e-05/0.8014, allocations: 23.69 kB / 0.8943 GB, free: 104.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002364/0.8038, allocations: 0.9046 MB / 0.8952 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.805, allocations: 352.9 kB / 0.8955 GB, free: 103.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/0.8199, allocations: 23.12 MB / 0.9181 GB, free: 83.15 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.8215, allocations: 101.3 kB / 0.9182 GB, free: 83.1 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.8217, allocations: 92.52 kB / 0.9183 GB, free: 83.08 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.001852/0.8235, allocations: 1.607 MB / 0.9199 GB, free: 82.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000314/0.8238, allocations: 217.2 kB / 0.9201 GB, free: 81.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/0.8282, allocations: 2.956 MB / 0.923 GB, free: 80.2 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.8282, allocations: 17.44 kB / 0.923 GB, free: 80.2 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.8282, allocations: 13.94 kB / 0.923 GB, free: 80.2 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.8282, allocations: 7.969 kB / 0.923 GB, free: 80.19 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009069/0.8373, allocations: 7.32 MB / 0.9301 GB, free: 73.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.495e-06/0.8373, allocations: 7.656 kB / 0.9301 GB, free: 73.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/0.8381, allocations: 175.7 kB / 0.9303 GB, free: 73.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002136/0.8402, allocations: 0.8221 MB / 0.9311 GB, free: 72.55 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/0.8403, allocations: 28 kB / 0.9311 GB, free: 72.53 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01388/0.8542, allocations: 21.96 MB / 0.9526 GB, free: 48.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.8542, allocations: 8 kB / 0.9526 GB, free: 48.89 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004285/0.8585, allocations: 3.014 MB / 0.9555 GB, free: 45.76 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008052/0.8593, allocations: 471.6 kB / 0.956 GB, free: 45.28 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.8595, allocations: 28 kB / 0.956 GB, free: 45.25 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007756/0.8603, allocations: 75.91 kB / 0.9561 GB, free: 45.18 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/0.8606, allocations: 124.7 kB / 0.9562 GB, free: 45.06 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.227e-05/0.8606, allocations: 36 kB / 0.9562 GB, free: 45.02 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001017/0.8617, allocations: 0.9795 MB / 0.9572 GB, free: 44.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.8617, allocations: 0 / 0.9572 GB, free: 44.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002708/0.8644, allocations: 0.7852 MB / 0.958 GB, free: 43.23 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004214/0.8686, allocations: 3.6 MB / 0.9615 GB, free: 39.52 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004697/0.8733, allocations: 3.922 MB / 0.9653 GB, free: 35.46 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.8733, allocations: 1 kB / 0.9653 GB, free: 35.46 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002849/0.8761, allocations: 2.662 MB / 0.9679 GB, free: 32.64 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002948/0.8791, allocations: 0.744 MB / 0.9686 GB, free: 31.94 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02775/0.9068, allocations: 22.41 MB / 0.9905 GB, free: 8.52 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002675/0.9095, allocations: 3.113 MB / 0.9936 GB, free: 5.371 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001421/0.9109, allocations: 450 kB / 0.994 GB, free: 4.93 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/0.9125, allocations: 1.538 MB / 0.9955 GB, free: 3.391 MB / 0.67 GB Notification: Performance of SimCode: time 1.352e-06/0.9125, allocations: 0 / 0.9955 GB, free: 3.391 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1499/1.062, allocations: 61.87 MB / 1.056 GB, free: 6.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.38, allocations: 7.75 kB / 1.056 GB, free: 6.117 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.445128249004483] Failed to read output from testmodel.py, exit status != 0: 15.554394452017732 15.569643952 15.24444959 Calling exit ...