Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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.001718/0.001718, allocations: 105 kB / 20.48 MB, free: 1.488 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.001515/0.001515, allocations: 215.7 kB / 23.79 MB, free: 4.703 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.522/1.522, allocations: 230.6 MB / 257.6 MB, free: 8.004 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 0.9722/0.9722, allocations: 150 MB / 464 MB, free: 10.54 MB / 366.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_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_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.002271/0.002271, allocations: 66.97 kB / 0.6421 GB, free: 10.46 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2106, allocations: 89.18 MB / 0.7291 GB, free: 1.348 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.3918/0.6024, allocations: 43 MB / 0.7711 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02345/0.6258, allocations: 15.78 MB / 0.7865 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004704/0.6305, allocations: 251.8 kB / 0.7868 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01194/0.6425, allocations: 4.676 MB / 0.7913 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.6539, allocations: 2.924 MB / 0.7942 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.664, allocations: 3.249 MB / 0.7974 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01531/0.6793, allocations: 11.43 MB / 0.8085 GB, free: 312 kB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/0.6914, allocations: 6.775 MB / 0.8152 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009418/0.7009, allocations: 4.969 MB / 0.82 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01185/0.7127, allocations: 5.752 MB / 0.8256 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.003207/0.7159, allocations: 0.9547 MB / 0.8266 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007088/0.723, allocations: 2.068 MB / 0.8286 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.006384/0.7294, allocations: 3.786 MB / 0.8323 GB, free: 1.141 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.009733/0.7391, allocations: 4.299 MB / 0.8365 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0213/0.7604, allocations: 14.31 MB / 0.8505 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.7604, allocations: 4 kB / 0.8505 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7604, allocations: 3.938 kB / 0.8505 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003845/0.7608, allocations: 4 kB / 0.8505 GB, free: 14.46 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: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.02227/0.7831, allocations: 7.719 MB / 0.858 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.7831, allocations: 8.031 kB / 0.858 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000188/0.7833, allocations: 169.7 kB / 0.8582 GB, free: 6.492 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002484/0.7858, allocations: 0.8916 MB / 0.859 GB, free: 5.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.7969, allocations: 1.55 MB / 0.8606 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.8073, allocations: 4.386 MB / 0.8648 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005407/0.8078, allocations: 460.4 kB / 0.8653 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002509/0.8103, allocations: 0.594 MB / 0.8659 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/0.8367, allocations: 10.69 MB / 0.8763 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002472/0.837, allocations: 31.72 kB / 0.8763 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001432/0.8384, allocations: 259.9 kB / 0.8766 GB, free: 3.164 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003065/0.8414, allocations: 0.7768 MB / 0.8773 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01798/0.8594, allocations: 8.561 MB / 0.8857 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07189/0.9313, allocations: 46.25 MB / 0.9309 GB, free: 7.777 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00636/0.9377, allocations: 3.985 MB / 0.9348 GB, free: 3.781 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005608/0.9433, allocations: 3.373 MB / 0.938 GB, free: 412 kB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002845/0.9436, allocations: 34.78 kB / 0.9381 GB, free: 376 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.543e-05/0.9437, allocations: 77.34 kB / 0.9382 GB, free: 288 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=353): time 5.81e-06/0.9437, allocations: 0 / 0.9382 GB, free: 288 kB / 0.7012 GB Notification: Performance of matching and sorting (n=578): time 0.5495/1.493, allocations: 121.1 MB / 1.056 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/1.493, allocations: 111.9 kB / 1.057 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004778/1.498, allocations: 2.681 MB / 1.059 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.001168/1.499, allocations: 121.7 kB / 1.059 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.502, allocations: 2.753 MB / 1.062 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002958/1.505, allocations: 2.045 MB / 1.064 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003027/1.508, allocations: 0.9251 MB / 1.065 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.508, allocations: 301.1 kB / 1.065 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007031/1.515, allocations: 4.087 MB / 1.069 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008714/1.523, allocations: 5.011 MB / 1.074 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3699/1.893, allocations: 9.848 MB / 1.084 GB, free: 269.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.8e-05/1.893, allocations: 7.5 kB / 1.084 GB, free: 269.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0476/1.941, allocations: 16.74 MB / 1.1 GB, free: 265 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/1.941, allocations: 18.88 kB / 1.1 GB, free: 265 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-05/1.941, allocations: 23.27 kB / 1.1 GB, free: 265 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03482/1.976, allocations: 9.083 MB / 1.109 GB, free: 262.9 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/1.979, allocations: 0.5258 MB / 1.109 GB, free: 262.8 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09779/2.076, allocations: 75.91 MB / 1.184 GB, free: 207.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006509/2.083, allocations: 275.8 kB / 1.184 GB, free: 207.2 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001695/2.085, allocations: 195 kB / 1.184 GB, free: 207 MB / 0.8419 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005898/2.09, allocations: 2.425 MB / 1.186 GB, free: 204.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001406/2.092, allocations: 497 kB / 1.187 GB, free: 204.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03779/2.13, allocations: 16.55 MB / 1.203 GB, free: 187.4 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/2.13, allocations: 55.98 kB / 1.203 GB, free: 187.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002624/2.13, allocations: 72 kB / 1.203 GB, free: 187.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001307/2.13, allocations: 23.91 kB / 1.203 GB, free: 187.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05458/2.185, allocations: 25.36 MB / 1.228 GB, free: 161.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/2.185, allocations: 8 kB / 1.228 GB, free: 161.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/2.187, allocations: 320.4 kB / 1.228 GB, free: 161.4 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02754/2.214, allocations: 8.269 MB / 1.236 GB, free: 153.1 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001273/2.215, allocations: 112 kB / 1.236 GB, free: 153 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08679/2.302, allocations: 72.78 MB / 1.307 GB, free: 78.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.302, allocations: 11.94 kB / 1.307 GB, free: 78.93 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03995/2.342, allocations: 21.32 MB / 1.328 GB, free: 57.25 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004539/2.347, allocations: 1.314 MB / 1.33 GB, free: 55.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001657/2.348, allocations: 111.9 kB / 1.33 GB, free: 55.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004158/2.353, allocations: 283.6 kB / 1.33 GB, free: 55.55 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/2.354, allocations: 0.553 MB / 1.331 GB, free: 55 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005634/2.355, allocations: 144 kB / 1.331 GB, free: 54.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002287/2.357, allocations: 1.776 MB / 1.332 GB, free: 53.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 6.1e-08/2.357, allocations: 0 / 1.332 GB, free: 53.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.007553/2.365, allocations: 2.461 MB / 1.335 GB, free: 50.63 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03939/2.404, allocations: 22.03 MB / 1.356 GB, free: 28.23 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02327/2.428, allocations: 13.72 MB / 1.37 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/2.428, allocations: 4 kB / 1.37 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01645/2.444, allocations: 9.033 MB / 1.379 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008231/2.452, allocations: 1.381 MB / 1.38 GB, free: 3.828 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5473/3, allocations: 70 MB / 1.448 GB, free: 251 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009574/3.009, allocations: 4.889 MB / 1.453 GB, free: 249.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.003073/3.012, allocations: 0.7428 MB / 1.454 GB, free: 249.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004089/3.016, allocations: 2.607 MB / 1.456 GB, free: 247.2 MB / 0.8575 GB Notification: Performance of SimCode: time 2.094e-06/3.016, allocations: 0 / 1.456 GB, free: 247.2 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3599/3.376, allocations: 204 MB / 1.656 GB, free: 60.5 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.59/27.96, allocations: 0 / 1.656 GB, free: 60.5 MB / 0.8575 GB " [Timeout remaining time 632] (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 32.91945566301001] Failed to read output from testmodel.py, exit status != 0: 28.274753717996646 28.292906613 27.528254923 Calling exit ...