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.001509/0.001509, allocations: 110.5 kB / 17.12 MB, free: 6.008 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.001581/0.001581, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.537/1.537, allocations: 230.6 MB / 253.5 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 0.9716/0.9716, allocations: 150 MB / 459.5 MB, free: 5.324 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="me",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="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.002094/0.002094, allocations: 74.58 kB / 0.6361 GB, free: 30.49 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1934, allocations: 89.13 MB / 0.7232 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02675/0.2202, allocations: 20.57 MB / 0.7433 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01234/0.2325, allocations: 6.558 MB / 0.7497 GB, free: 8.859 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002562/0.2351, allocations: 111.2 kB / 0.7498 GB, free: 8.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006206/0.2413, allocations: 2.269 MB / 0.752 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004326/0.2456, allocations: 1.244 MB / 0.7532 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003682/0.2493, allocations: 1.289 MB / 0.7545 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006927/0.2562, allocations: 4.846 MB / 0.7592 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007108/0.2633, allocations: 4.233 MB / 0.7633 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.2672, allocations: 2.154 MB / 0.7654 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004525/0.2717, allocations: 2.473 MB / 0.7679 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.2728, allocations: 432 kB / 0.7683 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.2754, allocations: 1.018 MB / 0.7693 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002443/0.2779, allocations: 1.719 MB / 0.7709 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003452/0.2813, allocations: 1.91 MB / 0.7728 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008443/0.2898, allocations: 6.538 MB / 0.7792 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.2898, allocations: 4 kB / 0.7792 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2898, allocations: 0 / 0.7792 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001581/0.2899, allocations: 0 / 0.7792 GB, free: 10.49 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.007695/0.2976, allocations: 3.537 MB / 0.7827 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.2977, allocations: 8.031 kB / 0.7827 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000691/0.2984, allocations: 458.6 kB / 0.7831 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003551/0.3019, allocations: 0.6507 MB / 0.7837 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/0.306, allocations: 2.054 MB / 0.7857 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.3062, allocations: 226.3 kB / 0.786 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005728/0.3068, allocations: 296.1 kB / 0.7862 GB, free: 3.141 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008963/0.3157, allocations: 4.878 MB / 0.791 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.789e-05/0.3158, allocations: 19.92 kB / 0.791 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003511/0.3162, allocations: 132 kB / 0.7911 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004755/0.3166, allocations: 221.7 kB / 0.7914 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007265/0.3239, allocations: 3.75 MB / 0.795 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02641/0.3503, allocations: 21.46 MB / 0.816 GB, free: 2.48 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.3523, allocations: 1.234 MB / 0.8172 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.3539, allocations: 0.9874 MB / 0.8181 GB, free: 252 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-05/0.354, allocations: 13 kB / 0.8182 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.597e-05/0.354, allocations: 43.56 kB / 0.8182 GB, free: 184 kB / 0.6231 GB Notification: Performance of pre-optimization done (n=107): time 2.725e-06/0.354, allocations: 0 / 0.8182 GB, free: 184 kB / 0.6231 GB Notification: Performance of matching and sorting (n=138): time 0.02683/0.3809, allocations: 8.649 MB / 0.8266 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3809, allocations: 64.72 kB / 0.8267 GB, free: 7.402 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/0.3826, allocations: 1.142 MB / 0.8278 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001581/0.3828, allocations: 49.7 kB / 0.8279 GB, free: 6.199 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.3839, allocations: 1.335 MB / 0.8292 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.3844, allocations: 0.4919 MB / 0.8297 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005545/0.385, allocations: 291.5 kB / 0.8299 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3851, allocations: 305.1 kB / 0.8302 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001428/0.3865, allocations: 0.9174 MB / 0.8311 GB, free: 2.848 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/0.3883, allocations: 1.33 MB / 0.8324 GB, free: 1.348 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00341/0.3917, allocations: 2.426 MB / 0.8348 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.395e-06/0.3918, allocations: 4 kB / 0.8348 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006473/0.3982, allocations: 3.433 MB / 0.8381 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3983, allocations: 8 kB / 0.8381 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3983, allocations: 12 kB / 0.8382 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003424/0.4017, allocations: 1.192 MB / 0.8393 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000993/0.4027, allocations: 255.5 kB / 0.8396 GB, free: 9.824 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02052/0.4232, allocations: 13.85 MB / 0.8531 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.4246, allocations: 88.03 kB / 0.8532 GB, free: 11.47 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002811/0.4249, allocations: 71.98 kB / 0.8532 GB, free: 11.4 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.00214/0.4271, allocations: 1.114 MB / 0.8543 GB, free: 10.28 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004393/0.4275, allocations: 170.9 kB / 0.8545 GB, free: 10.11 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006416/0.4339, allocations: 3.126 MB / 0.8575 GB, free: 6.957 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.4339, allocations: 19.98 kB / 0.8576 GB, free: 6.938 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.252e-05/0.434, allocations: 15.94 kB / 0.8576 GB, free: 6.922 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.8e-05/0.434, allocations: 7.969 kB / 0.8576 GB, free: 6.914 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01179/0.4458, allocations: 6.21 MB / 0.8637 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.4458, allocations: 7.938 kB / 0.8637 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.4464, allocations: 143.8 kB / 0.8638 GB, free: 424 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3616/0.808, allocations: 1.07 MB / 0.8648 GB, free: 129.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/0.8082, allocations: 27.38 kB / 0.8649 GB, free: 129.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/0.8244, allocations: 13.54 MB / 0.8781 GB, free: 122.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.8244, allocations: 5.844 kB / 0.8781 GB, free: 122.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/0.8309, allocations: 3.119 MB / 0.8811 GB, free: 121.2 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001034/0.8319, allocations: 431.3 kB / 0.8816 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.8321, allocations: 34.14 kB / 0.8816 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008452/0.833, allocations: 83.19 kB / 0.8817 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004403/0.8334, allocations: 126.3 kB / 0.8818 GB, free: 121 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.8335, allocations: 41.34 kB / 0.8818 GB, free: 120.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009652/0.8345, allocations: 0.7691 MB / 0.8826 GB, free: 120.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/0.8345, allocations: 0 / 0.8826 GB, free: 120.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002112/0.8366, allocations: 0.6602 MB / 0.8832 GB, free: 120.6 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.004752/0.8413, allocations: 3.703 MB / 0.8868 GB, free: 118.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003941/0.8453, allocations: 3.006 MB / 0.8898 GB, free: 117.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.8453, allocations: 0 / 0.8898 GB, free: 117.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002457/0.8477, allocations: 1.885 MB / 0.8916 GB, free: 116.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8498, allocations: 0.5121 MB / 0.8921 GB, free: 116.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02342/0.8733, allocations: 19.12 MB / 0.9108 GB, free: 101.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002033/0.8753, allocations: 2.336 MB / 0.9131 GB, free: 98.91 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001048/0.8763, allocations: 348.3 kB / 0.9134 GB, free: 98.57 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008795/0.8772, allocations: 1.007 MB / 0.9144 GB, free: 97.57 MB / 0.67 GB Notification: Performance of SimCode: time 1.172e-06/0.8772, allocations: 0 / 0.9144 GB, free: 97.57 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09467/0.9719, allocations: 52.66 MB / 0.9658 GB, free: 45.49 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.1, allocations: 7.938 kB / 0.9658 GB, free: 45.49 MB / 0.67 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_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: 18.19888227316551] Failed to read output from testmodel.py, exit status != 0: 14.212861276930198 14.231532243 13.937689168 Calling exit ...