Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.00134/0.00134, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001378/0.001378, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.464/1.464, allocations: 230.6 MB / 254.2 MB, free: 15.04 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.227 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_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",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.003151/0.003151, allocations: 68.97 kB / 0.6368 GB, free: 30.5 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1953, allocations: 89.13 MB / 0.7239 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02786/0.2231, allocations: 20.57 MB / 0.7439 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01446/0.2376, allocations: 6.554 MB / 0.7504 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002429/0.24, allocations: 111.2 kB / 0.7505 GB, free: 8.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006746/0.2468, allocations: 2.277 MB / 0.7527 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.2507, allocations: 1.24 MB / 0.7539 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.2549, allocations: 1.296 MB / 0.7552 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007241/0.2621, allocations: 4.842 MB / 0.7599 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007356/0.2695, allocations: 4.233 MB / 0.764 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003781/0.2733, allocations: 2.158 MB / 0.7661 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004294/0.2776, allocations: 2.473 MB / 0.7685 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.2787, allocations: 432 kB / 0.769 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.2814, allocations: 1.018 MB / 0.7699 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002565/0.284, allocations: 1.711 MB / 0.7716 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.2879, allocations: 1.914 MB / 0.7735 GB, free: 1.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009711/0.2976, allocations: 6.541 MB / 0.7799 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.2976, allocations: 0 / 0.7799 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2976, allocations: 0 / 0.7799 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002211/0.2978, allocations: 0 / 0.7799 GB, free: 10.45 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009451/0.3073, allocations: 3.541 MB / 0.7833 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3073, allocations: 8.031 kB / 0.7833 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001016/0.3074, allocations: 82.16 kB / 0.7834 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007712/0.3082, allocations: 458.6 kB / 0.7839 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003622/0.3118, allocations: 0.6468 MB / 0.7845 GB, free: 5.637 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003988/0.3158, allocations: 2.062 MB / 0.7865 GB, free: 3.516 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001906/0.316, allocations: 222.3 kB / 0.7867 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.3166, allocations: 299.9 kB / 0.787 GB, free: 3.004 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00915/0.3257, allocations: 4.878 MB / 0.7918 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.556e-05/0.3258, allocations: 15.94 kB / 0.7918 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.3262, allocations: 128 kB / 0.7919 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004663/0.3267, allocations: 233.7 kB / 0.7921 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007074/0.3337, allocations: 3.742 MB / 0.7958 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02726/0.361, allocations: 21.45 MB / 0.8167 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.3631, allocations: 1.239 MB / 0.8179 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.3647, allocations: 0.9835 MB / 0.8189 GB, free: 124 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 9.633e-05/0.3647, allocations: 17 kB / 0.8189 GB, free: 108 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.3648, allocations: 43.56 kB / 0.819 GB, free: 52 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 3.907e-06/0.3648, allocations: 0 / 0.819 GB, free: 52 kB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02651/0.3913, allocations: 8.653 MB / 0.8274 GB, free: 7.344 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/0.3914, allocations: 68.66 kB / 0.8275 GB, free: 7.266 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.393, allocations: 1.142 MB / 0.8286 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.3932, allocations: 45.7 kB / 0.8286 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001019/0.3942, allocations: 1.339 MB / 0.8299 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.3947, allocations: 499.7 kB / 0.8304 GB, free: 4.223 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005199/0.3952, allocations: 295.4 kB / 0.8307 GB, free: 3.93 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3953, allocations: 305.1 kB / 0.831 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.3968, allocations: 0.9174 MB / 0.8319 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/0.3985, allocations: 1.322 MB / 0.8332 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003414/0.4019, allocations: 2.43 MB / 0.8355 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.176e-06/0.402, allocations: 4 kB / 0.8356 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006546/0.4085, allocations: 3.429 MB / 0.8389 GB, free: 11.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4085, allocations: 12 kB / 0.8389 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.4086, allocations: 12 kB / 0.8389 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003472/0.412, allocations: 1.189 MB / 0.8401 GB, free: 9.945 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000981/0.413, allocations: 259.5 kB / 0.8403 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.4328, allocations: 13.85 MB / 0.8539 GB, free: 11.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.4342, allocations: 87.98 kB / 0.8539 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.4344, allocations: 63.98 kB / 0.854 GB, free: 11.27 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001881/0.4363, allocations: 1.11 MB / 0.8551 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/0.4366, allocations: 174.9 kB / 0.8553 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006424/0.4431, allocations: 3.13 MB / 0.8583 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.4431, allocations: 19.92 kB / 0.8583 GB, free: 6.805 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.412e-05/0.4431, allocations: 12 kB / 0.8583 GB, free: 6.793 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.4431, allocations: 7.969 kB / 0.8583 GB, free: 6.785 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.456, allocations: 6.21 MB / 0.8644 GB, free: 444 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.456, allocations: 4 kB / 0.8644 GB, free: 440 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/0.4567, allocations: 147.8 kB / 0.8646 GB, free: 292 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3509/0.8076, allocations: 1.075 MB / 0.8656 GB, free: 129.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/0.8078, allocations: 27.05 kB / 0.8656 GB, free: 129.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01729/0.8251, allocations: 13.54 MB / 0.8789 GB, free: 122.4 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.178e-06/0.8251, allocations: 8.5 kB / 0.8789 GB, free: 122.4 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006975/0.8321, allocations: 3.117 MB / 0.8819 GB, free: 121.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/0.8331, allocations: 438.5 kB / 0.8823 GB, free: 120.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.8334, allocations: 26.59 kB / 0.8823 GB, free: 120.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000879/0.8342, allocations: 86.17 kB / 0.8824 GB, free: 120.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/0.8347, allocations: 131.2 kB / 0.8826 GB, free: 120.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.8348, allocations: 38.38 kB / 0.8826 GB, free: 120.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001101/0.8359, allocations: 0.7655 MB / 0.8833 GB, free: 120.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 8e-08/0.8359, allocations: 0 / 0.8833 GB, free: 120.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003057/0.839, allocations: 0.6584 MB / 0.884 GB, free: 120.5 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005272/0.8443, allocations: 3.707 MB / 0.8876 GB, free: 118.6 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00425/0.8485, allocations: 3.007 MB / 0.8905 GB, free: 117.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.8485, allocations: 0 / 0.8905 GB, free: 117.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.8511, allocations: 1.887 MB / 0.8924 GB, free: 116.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.8533, allocations: 0.4966 MB / 0.8929 GB, free: 116.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02366/0.877, allocations: 19.12 MB / 0.9115 GB, free: 101.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001917/0.8789, allocations: 2.34 MB / 0.9138 GB, free: 98.74 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009237/0.8798, allocations: 347.8 kB / 0.9142 GB, free: 98.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008921/0.8807, allocations: 1.011 MB / 0.9151 GB, free: 97.39 MB / 0.67 GB Notification: Performance of SimCode: time 5.91e-07/0.8807, allocations: 0 / 0.9151 GB, free: 97.39 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/1.069, allocations: 52.69 MB / 0.9666 GB, free: 45.31 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/15.06, allocations: 4.484 kB / 0.9666 GB, free: 45.3 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.473112714011222] Failed to read output from testmodel.py, exit status != 0: 15.234746842994355 15.252823241 14.951181833 Calling exit ...