Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001148/0.001148, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 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.00116/0.00116, allocations: 173.6 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9883/0.9883, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.807/1.807, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 4 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.773e-05, allocations: 10.22 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01429/0.0143, allocations: 19.12 MB / 1.019 GB, free: 10.32 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.008348/0.02265, allocations: 6.394 MB / 1.026 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00136/0.02401, allocations: 115.1 kB / 1.026 GB, free: 3.797 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.0268, allocations: 2.25 MB / 1.028 GB, free: 1.543 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002312/0.02911, allocations: 1.27 MB / 1.029 GB, free: 272 kB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.002261/0.03137, allocations: 1.303 MB / 1.03 GB, free: 14.96 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.03521, allocations: 4.947 MB / 1.035 GB, free: 10 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003116/0.03832, allocations: 3.154 MB / 1.038 GB, free: 6.777 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002887/0.04121, allocations: 3.013 MB / 1.041 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002085/0.04329, allocations: 2.19 MB / 1.043 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004406/0.04373, allocations: 428 kB / 1.044 GB, free: 1.145 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001306/0.04504, allocations: 0.9631 MB / 1.045 GB, free: 184 kB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.5032/0.5483, allocations: 1.778 MB / 1.046 GB, free: 54.36 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001345/0.5496, allocations: 1.339 MB / 1.048 GB, free: 54.36 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.5536, allocations: 6.645 MB / 1.054 GB, free: 54.18 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5536, allocations: 0 / 1.054 GB, free: 54.18 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.953e-06/0.5536, allocations: 0 / 1.054 GB, free: 54.18 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.5536, allocations: 0 / 1.054 GB, free: 54.18 MB / 0.9948 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.003358/0.557, allocations: 3.431 MB / 1.058 GB, free: 52.82 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.557, allocations: 10.06 kB / 1.058 GB, free: 52.82 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003662/0.5574, allocations: 455.1 kB / 1.058 GB, free: 52.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001822/0.5592, allocations: 0.6583 MB / 1.059 GB, free: 52.58 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.5613, allocations: 1.99 MB / 1.061 GB, free: 52.14 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.951e-05/0.5614, allocations: 226.1 kB / 1.061 GB, free: 52.13 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002765/0.5617, allocations: 294.6 kB / 1.061 GB, free: 52.13 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.566, allocations: 5.246 MB / 1.066 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.036e-05/0.566, allocations: 9.375 kB / 1.066 GB, free: 50.8 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.5662, allocations: 130.9 kB / 1.066 GB, free: 50.71 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002214/0.5664, allocations: 230.5 kB / 1.067 GB, free: 50.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.5697, allocations: 3.746 MB / 1.07 GB, free: 49.43 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01047/0.5802, allocations: 13.55 MB / 1.084 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.5814, allocations: 1.232 MB / 1.085 GB, free: 40.51 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.5824, allocations: 0.9875 MB / 1.086 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-05/0.5825, allocations: 13.52 kB / 1.086 GB, free: 40.14 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.5825, allocations: 49.62 kB / 1.086 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=107): time 3.106e-06/0.5825, allocations: 0 / 1.086 GB, free: 40.09 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138): time 0.01412/0.5966, allocations: 8.432 MB / 1.094 GB, free: 37.57 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.5967, allocations: 70.2 kB / 1.094 GB, free: 37.5 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.598, allocations: 1.156 MB / 1.095 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.5981, allocations: 51.02 kB / 1.095 GB, free: 36.99 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006343/0.5987, allocations: 1.336 MB / 1.097 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000271/0.599, allocations: 496.3 kB / 1.097 GB, free: 35.59 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003089/0.5993, allocations: 291.8 kB / 1.097 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.946e-05/0.5993, allocations: 301.1 kB / 1.098 GB, free: 35.15 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/0.6003, allocations: 0.9131 MB / 1.098 GB, free: 34.81 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.6014, allocations: 1.323 MB / 1.1 GB, free: 33.99 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002145/0.6035, allocations: 2.427 MB / 1.102 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.6036, allocations: 10.5 kB / 1.102 GB, free: 32.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003979/0.6075, allocations: 3.426 MB / 1.105 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.6076, allocations: 17.33 kB / 1.106 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.6076, allocations: 13.41 kB / 1.106 GB, free: 31.42 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.6095, allocations: 1.183 MB / 1.107 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00056/0.6101, allocations: 257.9 kB / 1.107 GB, free: 31.11 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.621, allocations: 13.34 MB / 1.12 GB, free: 23.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008906/0.6219, allocations: 93.14 kB / 1.12 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/0.622, allocations: 62.83 kB / 1.12 GB, free: 23.09 MB / 0.9948 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.001956/0.624, allocations: 1.123 MB / 1.121 GB, free: 22.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.6242, allocations: 164.3 kB / 1.121 GB, free: 22.5 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004565/0.6287, allocations: 3.128 MB / 1.124 GB, free: 21.28 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/0.6287, allocations: 13.94 kB / 1.124 GB, free: 21.28 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.6288, allocations: 12.28 kB / 1.124 GB, free: 21.28 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.6288, allocations: 6.422 kB / 1.124 GB, free: 21.28 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/0.6363, allocations: 5.92 MB / 1.13 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.6363, allocations: 4.75 kB / 1.13 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003588/0.6367, allocations: 146.8 kB / 1.13 GB, free: 18.91 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001868/0.6386, allocations: 1.071 MB / 1.131 GB, free: 18.62 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-05/0.6386, allocations: 31.09 kB / 1.131 GB, free: 18.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.6488, allocations: 13.04 MB / 1.144 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6488, allocations: 4.406 kB / 1.144 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003248/0.652, allocations: 3.112 MB / 1.147 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.6525, allocations: 357 kB / 1.148 GB, free: 9.203 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.6527, allocations: 31.28 kB / 1.148 GB, free: 9.184 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/0.6531, allocations: 81.23 kB / 1.148 GB, free: 9.168 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.6533, allocations: 138.6 kB / 1.148 GB, free: 9.141 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-05/0.6533, allocations: 40.34 kB / 1.148 GB, free: 9.133 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0007813/0.6541, allocations: 0.7636 MB / 1.149 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4e-08/0.6541, allocations: 0 / 1.149 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.00195/0.6561, allocations: 0.6615 MB / 1.149 GB, free: 8.766 MB / 0.9948 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.003207/0.6593, allocations: 3.697 MB / 1.153 GB, free: 6.859 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002864/0.6621, allocations: 3.001 MB / 1.156 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.6621, allocations: 3.391 kB / 1.156 GB, free: 5.586 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001478/0.6636, allocations: 1.878 MB / 1.158 GB, free: 4.66 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.6648, allocations: 0.5105 MB / 1.158 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01888/0.6837, allocations: 19.21 MB / 1.177 GB, free: 8.141 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001782/0.6854, allocations: 1.765 MB / 1.179 GB, free: 6.344 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.00067/0.6861, allocations: 362.1 kB / 1.179 GB, free: 5.984 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.6868, allocations: 1.008 MB / 1.18 GB, free: 4.977 MB / 1.01 GB Notification: Performance of SimCode: time 1.292e-06/0.6868, allocations: 0 / 1.18 GB, free: 4.977 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1289/0.8157, allocations: 55.89 MB / 1.235 GB, free: 14.07 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.021/8.837, allocations: 0 / 1.235 GB, free: 14.07 MB / 1.073 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.536873131990433]