Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.00131/0.00131, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001457/0.001457, allocations: 209.6 kB / 22.24 MB, free: 4.859 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003567/0.003567, allocations: 283.6 kB / 312.7 MB, free: 2.625 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.281/1.281, allocations: 180.6 MB / 0.5369 GB, free: 14.64 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004923/0.004923, allocations: 103.2 kB / 0.7395 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1939, allocations: 95.38 MB / 0.8327 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03339/0.2273, allocations: 25.58 MB / 0.8576 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.2427, allocations: 8.087 MB / 0.8655 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002407/0.2451, allocations: 154.8 kB / 0.8657 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.007825/0.2529, allocations: 2.767 MB / 0.8684 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.2586, allocations: 1.671 MB / 0.87 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005259/0.2639, allocations: 1.684 MB / 0.8717 GB, free: 284 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008241/0.2721, allocations: 6.135 MB / 0.8776 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006611/0.2787, allocations: 3.742 MB / 0.8813 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004525/0.2832, allocations: 2.68 MB / 0.8839 GB, free: 3.602 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005027/0.2883, allocations: 2.819 MB / 0.8867 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001307/0.2896, allocations: 0.5078 MB / 0.8872 GB, free: 272 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.2926, allocations: 1.197 MB / 0.8883 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.2954, allocations: 2.108 MB / 0.8904 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.2988, allocations: 1.93 MB / 0.8923 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.009321/0.3081, allocations: 8.118 MB / 0.9002 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3081, allocations: 0 / 0.9002 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3081, allocations: 0 / 0.9002 GB, free: 2.871 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001733/0.3083, allocations: 0 / 0.9002 GB, free: 2.871 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01031/0.3186, allocations: 4.265 MB / 0.9044 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.795e-05/0.3186, allocations: 13.94 kB / 0.9044 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009939/0.3196, allocations: 0.5382 MB / 0.9049 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004307/0.3239, allocations: 0.8141 MB / 0.9057 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006451/0.3304, allocations: 2.53 MB / 0.9082 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.3307, allocations: 275.6 kB / 0.9084 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.3318, allocations: 376.4 kB / 0.9088 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/0.3443, allocations: 6.448 MB / 0.9151 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.3444, allocations: 19.83 kB / 0.9151 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000688/0.3451, allocations: 164 kB / 0.9153 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006462/0.3458, allocations: 282.9 kB / 0.9155 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009271/0.355, allocations: 4.512 MB / 0.9199 GB, free: 14.16 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03069/0.3857, allocations: 18.01 MB / 0.9375 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001834/0.3876, allocations: 1.051 MB / 0.9386 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.3891, allocations: 0.9602 MB / 0.9395 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 8.249e-05/0.3892, allocations: 13 kB / 0.9395 GB, free: 9.586 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/0.3892, allocations: 47.55 kB / 0.9396 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.155e-06/0.3892, allocations: 0 / 0.9396 GB, free: 9.531 MB / 0.6856 GB Notification: Performance of matching and sorting (n=131): time 0.02364/0.4129, allocations: 9.097 MB / 0.9484 GB, free: 388 kB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.849e-05/0.4129, allocations: 64.72 kB / 0.9485 GB, free: 308 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002407/0.4154, allocations: 1.529 MB / 0.95 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.4155, allocations: 49.7 kB / 0.95 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/0.4168, allocations: 1.723 MB / 0.9517 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005046/0.4173, allocations: 495.8 kB / 0.9522 GB, free: 12.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000585/0.4179, allocations: 331.4 kB / 0.9525 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.4181, allocations: 305.1 kB / 0.9528 GB, free: 11.86 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.4196, allocations: 0.9174 MB / 0.9537 GB, free: 10.94 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00187/0.4214, allocations: 1.459 MB / 0.9551 GB, free: 9.246 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00364/0.4251, allocations: 2.55 MB / 0.9576 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-05/0.4251, allocations: 4 kB / 0.9576 GB, free: 6.453 MB / 0.7012 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006337/0.4314, allocations: 3.271 MB / 0.9608 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.4314, allocations: 12 kB / 0.9608 GB, free: 3.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.4315, allocations: 16 kB / 0.9608 GB, free: 3.117 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/0.4339, allocations: 0.7419 MB / 0.9616 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4357, allocations: 391.4 kB / 0.9619 GB, free: 1.965 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01905/0.4548, allocations: 16.01 MB / 0.9776 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.4565, allocations: 99.97 kB / 0.9777 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001503/0.4567, allocations: 72 kB / 0.9777 GB, free: 0.75 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002289/0.459, allocations: 1.31 MB / 0.979 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.4594, allocations: 214.7 kB / 0.9792 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00531/0.4647, allocations: 2.765 MB / 0.9819 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.4647, allocations: 12 kB / 0.9819 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.4647, allocations: 12 kB / 0.9819 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.4648, allocations: 7.969 kB / 0.982 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.4766, allocations: 5.881 MB / 0.9877 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4766, allocations: 12.03 kB / 0.9877 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.4778, allocations: 231.6 kB / 0.9879 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/0.4799, allocations: 0.6673 MB / 0.9886 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.48, allocations: 35.98 kB / 0.9886 GB, free: 5.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4528/0.9328, allocations: 15.76 MB / 1.004 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/0.9328, allocations: 8.625 kB / 1.004 GB, free: 138.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006045/0.9388, allocations: 3.994 MB / 1.008 GB, free: 136.6 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00106/0.9399, allocations: 391.9 kB / 1.008 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.9403, allocations: 36.95 kB / 1.008 GB, free: 136.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.9413, allocations: 85 kB / 1.008 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002874/0.9416, allocations: 121.3 kB / 1.009 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.9417, allocations: 39.25 kB / 1.009 GB, free: 136.4 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001479/0.9432, allocations: 0.9926 MB / 1.01 GB, free: 136 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9432, allocations: 0 / 1.01 GB, free: 136 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002354/0.9455, allocations: 0.6869 MB / 1.01 GB, free: 136 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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 Backend phase and start with SimCode phase: time 0.007404/0.9529, allocations: 4.59 MB / 1.015 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004904/0.9579, allocations: 3.38 MB / 1.018 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/0.9579, allocations: 1.219 kB / 1.018 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002783/0.9606, allocations: 2.247 MB / 1.02 GB, free: 130.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/0.9636, allocations: 0.6835 MB / 1.021 GB, free: 130.2 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/0.9911, allocations: 21.29 MB / 1.042 GB, free: 117.2 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002374/0.9935, allocations: 2.113 MB / 1.044 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001296/0.9948, allocations: 489.6 kB / 1.044 GB, free: 114.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.9959, allocations: 1.28 MB / 1.045 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of SimCode: time 9.42e-07/0.9959, allocations: 0 / 1.045 GB, free: 113.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.113, allocations: 61.47 MB / 1.105 GB, free: 52.84 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.56, allocations: 15.17 kB / 1.105 GB, free: 52.83 MB / 0.7325 GB " [Timeout remaining time 645] (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.047821816056967] Failed to read output from testmodel.py, exit status != 0: 14.713346621021628 14.731348751 14.419385776 Calling exit ...