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.001205/0.001205, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001464/0.001464, allocations: 210.3 kB / 22.99 MB, free: 4.977 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.9785/0.9785, allocations: 149.9 MB / 463.1 MB, free: 10.33 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="me",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="me",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.002336/0.002336, allocations: 66.05 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1988, allocations: 89.17 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4134/0.6123, allocations: 39.08 MB / 0.7664 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02914/0.6414, allocations: 15.32 MB / 0.7813 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005873/0.6473, allocations: 246.5 kB / 0.7816 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01291/0.6602, allocations: 4.493 MB / 0.7859 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01159/0.6718, allocations: 2.93 MB / 0.7888 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01104/0.6828, allocations: 3.185 MB / 0.7919 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01833/0.7012, allocations: 11.43 MB / 0.8031 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01741/0.7186, allocations: 6.706 MB / 0.8096 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0136/0.7322, allocations: 4.999 MB / 0.8145 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01339/0.7456, allocations: 5.423 MB / 0.8198 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.004706/0.7503, allocations: 0.9468 MB / 0.8207 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008406/0.7587, allocations: 1.91 MB / 0.8226 GB, free: 7.125 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.008453/0.7671, allocations: 3.788 MB / 0.8263 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0129/0.78, allocations: 3.511 MB / 0.8297 GB, free: 1.289 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.02651/0.8065, allocations: 14.39 MB / 0.8438 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.699e-06/0.8065, allocations: 0 / 0.8438 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.795e-06/0.8065, allocations: 0 / 0.8438 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0005911/0.8071, allocations: 0 / 0.8438 GB, free: 2.867 MB / 0.6075 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.02585/0.833, allocations: 7.714 MB / 0.8513 GB, free: 11.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.833, allocations: 12.03 kB / 0.8513 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002955/0.836, allocations: 0.8994 MB / 0.8522 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.8471, allocations: 1.546 MB / 0.8537 GB, free: 8.605 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.8586, allocations: 4.386 MB / 0.858 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006017/0.8592, allocations: 460.5 kB / 0.8584 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003087/0.8623, allocations: 0.6017 MB / 0.859 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02798/0.8903, allocations: 11.58 MB / 0.8703 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/0.8905, allocations: 35.75 kB / 0.8704 GB, free: 6.859 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001174/0.8917, allocations: 264.8 kB / 0.8706 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002997/0.8947, allocations: 0.7729 MB / 0.8714 GB, free: 5.824 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01891/0.9136, allocations: 8.541 MB / 0.8797 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0656/0.9792, allocations: 31.45 MB / 0.9104 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/0.9859, allocations: 3.973 MB / 0.9143 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006282/0.9922, allocations: 3.361 MB / 0.9176 GB, free: 5.789 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003441/0.9925, allocations: 34.78 kB / 0.9176 GB, free: 5.754 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.9927, allocations: 77.34 kB / 0.9177 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=353): time 5.75e-06/0.9927, allocations: 0 / 0.9177 GB, free: 5.668 MB / 0.6856 GB Notification: Performance of matching and sorting (n=578): time 0.5376/1.53, allocations: 121.1 MB / 1.036 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/1.53, allocations: 111.9 kB / 1.036 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004054/1.534, allocations: 2.727 MB / 1.039 GB, free: 9.246 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0009357/1.535, allocations: 125.7 kB / 1.039 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/1.538, allocations: 2.749 MB / 1.042 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.002366/1.54, allocations: 2.045 MB / 1.044 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/1.542, allocations: 0.929 MB / 1.044 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.542, allocations: 305.1 kB / 1.045 GB, free: 3.047 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006098/1.548, allocations: 4.075 MB / 1.049 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00734/1.555, allocations: 5.019 MB / 1.054 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01495/1.57, allocations: 9.848 MB / 1.063 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.11e-05/1.57, allocations: 8 kB / 1.063 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.4448/2.015, allocations: 16.74 MB / 1.08 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.679e-05/2.015, allocations: 14.97 kB / 1.08 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.487e-05/2.015, allocations: 22.62 kB / 1.08 GB, free: 268.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03367/2.049, allocations: 9.063 MB / 1.088 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003212/2.052, allocations: 0.5305 MB / 1.089 GB, free: 268.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1003/2.152, allocations: 74.65 MB / 1.162 GB, free: 229 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005549/2.158, allocations: 280.8 kB / 1.162 GB, free: 228.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/2.159, allocations: 193 kB / 1.162 GB, free: 228.8 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.004339/2.163, allocations: 2.419 MB / 1.165 GB, free: 226.6 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/2.165, allocations: 0.4905 MB / 1.165 GB, free: 226.2 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03319/2.198, allocations: 16.54 MB / 1.181 GB, free: 209.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.039e-05/2.198, allocations: 56 kB / 1.181 GB, free: 209.4 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001809/2.198, allocations: 75.98 kB / 1.181 GB, free: 209.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.825e-05/2.198, allocations: 27.84 kB / 1.181 GB, free: 209.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04702/2.245, allocations: 24.02 MB / 1.205 GB, free: 185.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.967e-05/2.245, allocations: 4 kB / 1.205 GB, free: 185.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001828/2.247, allocations: 327.5 kB / 1.205 GB, free: 184.8 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02617/2.273, allocations: 8.253 MB / 1.213 GB, free: 176.5 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001547/2.275, allocations: 112 kB / 1.213 GB, free: 176.4 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08365/2.358, allocations: 71.51 MB / 1.283 GB, free: 103.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-06/2.358, allocations: 11.94 kB / 1.283 GB, free: 103.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03816/2.396, allocations: 21.32 MB / 1.304 GB, free: 81.95 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003903/2.4, allocations: 1.315 MB / 1.305 GB, free: 80.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.402, allocations: 108 kB / 1.305 GB, free: 80.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004017/2.406, allocations: 283.6 kB / 1.306 GB, free: 80.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002002/2.408, allocations: 0.557 MB / 1.306 GB, free: 79.69 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004541/2.408, allocations: 148 kB / 1.306 GB, free: 79.55 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002517/2.411, allocations: 1.768 MB / 1.308 GB, free: 77.79 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/2.411, allocations: 0 / 1.308 GB, free: 77.79 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.008839/2.419, allocations: 2.465 MB / 1.311 GB, free: 75.32 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.03836/2.458, allocations: 22.01 MB / 1.332 GB, free: 52.95 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.02412/2.482, allocations: 13.72 MB / 1.345 GB, free: 39.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/2.482, allocations: 5 kB / 1.345 GB, free: 39.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/2.498, allocations: 9.037 MB / 1.354 GB, free: 29.86 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006756/2.505, allocations: 1.383 MB / 1.356 GB, free: 28.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5076/3.013, allocations: 69.9 MB / 1.424 GB, free: 270.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009047/3.022, allocations: 4.393 MB / 1.428 GB, free: 269.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.003195/3.025, allocations: 0.7409 MB / 1.429 GB, free: 269.7 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003566/3.028, allocations: 2.612 MB / 1.431 GB, free: 269.7 MB / 0.8731 GB Notification: Performance of SimCode: time 2.103e-06/3.028, allocations: 0 / 1.431 GB, free: 269.7 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3014/3.33, allocations: 208.9 MB / 1.635 GB, free: 103.9 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.45/23.78, allocations: 3.812 kB / 1.635 GB, free: 103.9 MB / 0.8731 GB " [Timeout remaining time 636] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 27.991864155977964] Failed to read output from testmodel.py, exit status != 0: 23.99905760679394 24.018576675 23.207779376 Calling exit ...