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.0008473/0.0008473, allocations: 108.3 kB / 19.73 MB, free: 420 kB / 13.93 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.001037/0.001037, allocations: 212.6 kB / 23.02 MB, free: 2.965 MB / 13.93 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.9714/0.9714, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.897/1.897, allocations: 0.5045 GB / 0.8104 GB, free: 2.762 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009232/0.0009232, allocations: 71.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7869/0.7878, allocations: 180 MB / 1.352 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.01472/0.8025, allocations: 19.52 MB / 1.372 GB, free: 14.09 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.007713/0.8102, allocations: 6.488 MB / 1.378 GB, free: 7.582 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009542/0.8112, allocations: 115.1 kB / 1.378 GB, free: 7.469 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.002548/0.8138, allocations: 2.235 MB / 1.38 GB, free: 5.23 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.001841/0.8156, allocations: 1.24 MB / 1.381 GB, free: 3.984 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.00196/0.8176, allocations: 1.293 MB / 1.383 GB, free: 2.691 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.003126/0.8207, allocations: 4.851 MB / 1.387 GB, free: 13.83 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0026/0.8233, allocations: 3.147 MB / 1.39 GB, free: 10.61 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.8251, allocations: 2.166 MB / 1.393 GB, free: 8.438 MB / 1.073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001908/0.827, allocations: 2.328 MB / 1.395 GB, free: 6.102 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0003692/0.8274, allocations: 432 kB / 1.395 GB, free: 5.68 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.8286, allocations: 0.9401 MB / 1.396 GB, free: 4.738 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.000959/0.8296, allocations: 1.715 MB / 1.398 GB, free: 3.02 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.8307, allocations: 1.549 MB / 1.399 GB, free: 1.465 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.00403/0.8347, allocations: 6.567 MB / 1.406 GB, free: 10.88 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.8348, allocations: 0 / 1.406 GB, free: 10.88 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.765e-06/0.8348, allocations: 0 / 1.406 GB, free: 10.88 MB / 1.089 GB Notification: Performance of Transformations before backend: time 6.818e-05/0.8348, allocations: 0 / 1.406 GB, free: 10.88 MB / 1.089 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.004621/0.8394, allocations: 3.466 MB / 1.409 GB, free: 7.363 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.8395, allocations: 8.922 kB / 1.409 GB, free: 7.355 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004339/0.8399, allocations: 458.5 kB / 1.41 GB, free: 6.895 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.8419, allocations: 0.6584 MB / 1.41 GB, free: 6.234 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.8443, allocations: 1.99 MB / 1.412 GB, free: 4.195 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.8444, allocations: 226.3 kB / 1.412 GB, free: 3.973 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.8448, allocations: 296.1 kB / 1.413 GB, free: 3.684 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0048/0.8496, allocations: 5.238 MB / 1.418 GB, free: 14.16 MB / 1.104 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.306e-05/0.8496, allocations: 15.83 kB / 1.418 GB, free: 14.15 MB / 1.104 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002102/0.8498, allocations: 132 kB / 1.418 GB, free: 14.02 MB / 1.104 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002336/0.8501, allocations: 225.7 kB / 1.418 GB, free: 13.8 MB / 1.104 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004163/0.8542, allocations: 3.746 MB / 1.422 GB, free: 10.04 MB / 1.104 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.8655, allocations: 13.57 MB / 1.435 GB, free: 12.11 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.8667, allocations: 1.223 MB / 1.436 GB, free: 10.88 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009292/0.8676, allocations: 0.988 MB / 1.437 GB, free: 9.887 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.8677, allocations: 12.94 kB / 1.437 GB, free: 9.875 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.8677, allocations: 47.56 kB / 1.437 GB, free: 9.82 MB / 1.12 GB Notification: Performance of pre-optimization done (n=107): time 3.907e-06/0.8677, allocations: 0 / 1.437 GB, free: 9.82 MB / 1.12 GB Notification: Performance of matching and sorting (n=138): time 0.01307/0.8808, allocations: 8.424 MB / 1.445 GB, free: 1.398 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.8808, allocations: 64.72 kB / 1.446 GB, free: 1.324 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001054/0.8819, allocations: 1.157 MB / 1.447 GB, free: 164 kB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 6.37e-05/0.8819, allocations: 49.7 kB / 1.447 GB, free: 108 kB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006905/0.8826, allocations: 1.339 MB / 1.448 GB, free: 14.75 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.8829, allocations: 0.4919 MB / 1.449 GB, free: 14.26 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/0.8832, allocations: 295.5 kB / 1.449 GB, free: 13.96 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.55e-05/0.8833, allocations: 305.1 kB / 1.449 GB, free: 13.66 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009288/0.8842, allocations: 0.9135 MB / 1.45 GB, free: 12.75 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.8853, allocations: 1.33 MB / 1.451 GB, free: 11.25 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/0.8873, allocations: 2.422 MB / 1.454 GB, free: 8.652 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.8873, allocations: 8 kB / 1.454 GB, free: 8.645 MB / 1.135 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003768/0.8911, allocations: 3.441 MB / 1.457 GB, free: 5.184 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.8911, allocations: 12 kB / 1.457 GB, free: 5.172 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8911, allocations: 16 kB / 1.457 GB, free: 5.156 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.893, allocations: 1.175 MB / 1.458 GB, free: 3.977 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000593/0.8935, allocations: 259.6 kB / 1.458 GB, free: 3.723 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.9051, allocations: 13.35 MB / 1.471 GB, free: 6.035 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008434/0.9059, allocations: 91.97 kB / 1.472 GB, free: 5.945 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.906, allocations: 60 kB / 1.472 GB, free: 5.887 MB / 1.151 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.001465/0.9075, allocations: 1.114 MB / 1.473 GB, free: 4.762 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/0.9076, allocations: 174.9 kB / 1.473 GB, free: 4.59 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003511/0.9111, allocations: 3.13 MB / 1.476 GB, free: 1.438 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.9111, allocations: 12 kB / 1.476 GB, free: 1.426 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.9112, allocations: 15.94 kB / 1.476 GB, free: 1.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.9112, allocations: 11.97 kB / 1.476 GB, free: 1.398 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006672/0.9178, allocations: 5.917 MB / 1.482 GB, free: 11.36 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.9178, allocations: 4 kB / 1.482 GB, free: 11.35 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.9182, allocations: 147.8 kB / 1.482 GB, free: 11.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/0.92, allocations: 1.063 MB / 1.483 GB, free: 10.14 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.509e-05/0.9201, allocations: 32 kB / 1.483 GB, free: 10.11 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.9306, allocations: 13.06 MB / 1.496 GB, free: 12.7 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9306, allocations: 4.125 kB / 1.496 GB, free: 12.7 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.934, allocations: 3.12 MB / 1.499 GB, free: 9.496 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005244/0.9346, allocations: 366.8 kB / 1.499 GB, free: 9.137 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.9347, allocations: 31.95 kB / 1.499 GB, free: 9.105 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.9351, allocations: 83.89 kB / 1.499 GB, free: 9.023 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002172/0.9353, allocations: 132.6 kB / 1.499 GB, free: 8.895 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/0.9354, allocations: 36 kB / 1.499 GB, free: 8.859 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.0007375/0.9361, allocations: 0.7632 MB / 1.5 GB, free: 8.094 MB / 1.182 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9361, allocations: 0 / 1.5 GB, free: 8.094 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00142/0.9375, allocations: 0.6602 MB / 1.501 GB, free: 7.434 MB / 1.182 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.003419/0.941, allocations: 3.713 MB / 1.504 GB, free: 3.621 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003126/0.9441, allocations: 3.005 MB / 1.507 GB, free: 0.5742 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.9441, allocations: 0 / 1.507 GB, free: 0.5742 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.9458, allocations: 1.885 MB / 1.509 GB, free: 14.66 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001177/0.9469, allocations: 0.4959 MB / 1.51 GB, free: 14.17 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.9657, allocations: 19.19 MB / 1.528 GB, free: 10.39 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.9672, allocations: 1.765 MB / 1.53 GB, free: 8.594 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.0006565/0.9679, allocations: 358.1 kB / 1.53 GB, free: 8.238 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/0.9686, allocations: 1.007 MB / 1.531 GB, free: 7.23 MB / 1.214 GB Notification: Performance of SimCode: time 1.673e-06/0.9686, allocations: 0 / 1.531 GB, free: 7.23 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/1.1, allocations: 55.89 MB / 1.586 GB, free: 212 kB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.743/9.844, allocations: 2.922 kB / 1.586 GB, free: 212 kB / 1.26 GB " [Timeout remaining time 290] (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: 14.836847443133593]