Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.0008227/0.0008227, allocations: 100.3 kB / 19.72 MB, free: 432 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.0009143/0.0009143, allocations: 218.3 kB / 23.02 MB, free: 2.98 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.9743/0.9743, allocations: 230.6 MB / 256.8 MB, free: 9.609 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 2.008/2.008, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 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.ACLineMatrix_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001018/0.001018, allocations: 74.48 kB / 1.177 GB, free: 15.47 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.343, allocations: 180 MB / 1.352 GB, free: 9.211 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.01676/0.3597, allocations: 22.26 MB / 1.374 GB, free: 2.875 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.009423/0.3692, allocations: 6.45 MB / 1.38 GB, free: 12.41 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.3712, allocations: 127.1 kB / 1.381 GB, free: 12.28 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.002662/0.3739, allocations: 1.509 MB / 1.382 GB, free: 10.77 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.3778, allocations: 1.933 MB / 1.384 GB, free: 8.828 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002975/0.3808, allocations: 1.466 MB / 1.385 GB, free: 7.363 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.00655/0.3873, allocations: 6.905 MB / 1.392 GB, free: 452 kB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004677/0.392, allocations: 3.734 MB / 1.396 GB, free: 12.61 MB / 1.089 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.3963, allocations: 2.933 MB / 1.399 GB, free: 9.672 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004606/0.4009, allocations: 3.563 MB / 1.402 GB, free: 6.098 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.001335/0.4023, allocations: 0.5273 MB / 1.403 GB, free: 5.57 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.4053, allocations: 1.112 MB / 1.404 GB, free: 4.457 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.003313/0.4086, allocations: 2.533 MB / 1.406 GB, free: 1.918 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.003779/0.4124, allocations: 2.047 MB / 1.408 GB, free: 15.86 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.008224/0.4206, allocations: 8.589 MB / 1.417 GB, free: 7.238 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4206, allocations: 0 / 1.417 GB, free: 7.238 MB / 1.104 GB Notification: Performance of FrontEnd: time 2.896e-06/0.4206, allocations: 3.938 kB / 1.417 GB, free: 7.234 MB / 1.104 GB Notification: Performance of Transformations before backend: time 0.0002542/0.4209, allocations: 0 / 1.417 GB, free: 7.234 MB / 1.104 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.008709/0.4296, allocations: 4.472 MB / 1.421 GB, free: 2.703 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.4296, allocations: 8.922 kB / 1.421 GB, free: 2.695 MB / 1.104 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009027/0.4305, allocations: 0.5675 MB / 1.422 GB, free: 2.117 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005469/0.436, allocations: 1.711 MB / 1.423 GB, free: 412 kB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/0.4407, allocations: 2.664 MB / 1.426 GB, free: 13.69 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001893/0.4408, allocations: 279.7 kB / 1.426 GB, free: 13.42 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001092/0.4419, allocations: 360.3 kB / 1.426 GB, free: 13.07 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.4548, allocations: 7.713 MB / 1.434 GB, free: 5.031 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.859e-05/0.4549, allocations: 11.88 kB / 1.434 GB, free: 5.02 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005322/0.4554, allocations: 163.9 kB / 1.434 GB, free: 4.859 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004247/0.4559, allocations: 487.3 kB / 1.435 GB, free: 4.383 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008238/0.4641, allocations: 5.697 MB / 1.44 GB, free: 14.68 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0239/0.488, allocations: 20.55 MB / 1.46 GB, free: 9.656 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.4902, allocations: 2.019 MB / 1.462 GB, free: 7.625 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.4922, allocations: 2.1 MB / 1.464 GB, free: 5.527 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.4923, allocations: 13.31 kB / 1.464 GB, free: 5.516 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.4923, allocations: 55.86 kB / 1.464 GB, free: 5.449 MB / 1.151 GB Notification: Performance of pre-optimization done (n=146): time 4.829e-06/0.4923, allocations: 0 / 1.464 GB, free: 5.449 MB / 1.151 GB Notification: Performance of matching and sorting (n=251): time 0.1537/0.6461, allocations: 76.72 MB / 1.539 GB, free: 8.598 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.462e-05/0.6461, allocations: 77.41 kB / 1.539 GB, free: 8.508 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.6481, allocations: 1.704 MB / 1.541 GB, free: 6.762 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0004813/0.6485, allocations: 65.7 kB / 1.541 GB, free: 6.691 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009004/0.6494, allocations: 1.799 MB / 1.543 GB, free: 4.875 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007934/0.6502, allocations: 0.8985 MB / 1.544 GB, free: 3.969 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006864/0.6509, allocations: 485.4 kB / 1.544 GB, free: 3.488 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.651, allocations: 309.1 kB / 1.544 GB, free: 3.184 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.654, allocations: 2.726 MB / 1.547 GB, free: 464 kB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.657, allocations: 3.332 MB / 1.55 GB, free: 12.88 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006279/0.6633, allocations: 6.389 MB / 1.557 GB, free: 6.242 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.6633, allocations: 8 kB / 1.557 GB, free: 6.234 MB / 1.245 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0211/0.6844, allocations: 14.41 MB / 1.571 GB, free: 7.773 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 4.751e-05/0.6844, allocations: 12 kB / 1.571 GB, free: 7.762 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.6845, allocations: 16 kB / 1.571 GB, free: 7.746 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01796/0.7024, allocations: 9.207 MB / 1.58 GB, free: 14.52 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.7035, allocations: 299.5 kB / 1.58 GB, free: 14.23 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05858/0.762, allocations: 51.03 MB / 1.63 GB, free: 10.47 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.7641, allocations: 223.7 kB / 1.63 GB, free: 10.25 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000268/0.7644, allocations: 100 kB / 1.63 GB, free: 10.15 MB / 1.323 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002472/0.7668, allocations: 1.582 MB / 1.632 GB, free: 8.559 MB / 1.323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.7673, allocations: 262.5 kB / 1.632 GB, free: 8.301 MB / 1.323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/0.7875, allocations: 14.47 MB / 1.646 GB, free: 9.773 MB / 1.339 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/0.7876, allocations: 24 kB / 1.646 GB, free: 9.75 MB / 1.339 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000162/0.7877, allocations: 44 kB / 1.646 GB, free: 9.707 MB / 1.339 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.743e-05/0.7878, allocations: 11.95 kB / 1.646 GB, free: 9.695 MB / 1.339 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02906/0.8168, allocations: 19.53 MB / 1.665 GB, free: 5.965 MB / 1.354 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-05/0.8168, allocations: 11.94 kB / 1.665 GB, free: 5.953 MB / 1.354 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.8174, allocations: 163.7 kB / 1.665 GB, free: 5.793 MB / 1.354 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7355/1.553, allocations: 8.966 MB / 1.674 GB, free: 292.6 MB / 1.354 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004891/1.553, allocations: 49.45 kB / 1.674 GB, free: 292.6 MB / 1.354 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05473/1.608, allocations: 50.6 MB / 1.724 GB, free: 272.7 MB / 1.354 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/1.608, allocations: 10.22 kB / 1.724 GB, free: 272.7 MB / 1.354 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02245/1.631, allocations: 14.1 MB / 1.737 GB, free: 265.8 MB / 1.354 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001988/1.633, allocations: 0.7842 MB / 1.738 GB, free: 265.1 MB / 1.354 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.633, allocations: 51.94 kB / 1.738 GB, free: 265.1 MB / 1.354 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.634, allocations: 204.2 kB / 1.738 GB, free: 265 MB / 1.354 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/1.636, allocations: 256.2 kB / 1.739 GB, free: 264.8 MB / 1.354 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.636, allocations: 64 kB / 1.739 GB, free: 264.8 MB / 1.354 GB Notification: Performance of sorting global known variables: time 0.001174/1.637, allocations: 1.13 MB / 1.74 GB, free: 263.8 MB / 1.354 GB Notification: Performance of sort global known variables: time 1.8e-07/1.637, allocations: 0 / 1.74 GB, free: 263.8 MB / 1.354 GB Notification: Performance of remove unused functions: time 0.004291/1.641, allocations: 1.609 MB / 1.741 GB, free: 262.2 MB / 1.354 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02142/1.663, allocations: 14.71 MB / 1.756 GB, free: 247.3 MB / 1.354 GB Notification: Performance of simCode: created initialization part: time 0.01268/1.676, allocations: 10.19 MB / 1.766 GB, free: 237.1 MB / 1.354 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.676, allocations: 4 kB / 1.766 GB, free: 237.1 MB / 1.354 GB Notification: Performance of simCode: created simulation system equations: time 0.009656/1.685, allocations: 7.006 MB / 1.772 GB, free: 230.1 MB / 1.354 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/1.687, allocations: 0.5676 MB / 1.773 GB, free: 229.5 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05855/1.746, allocations: 50.51 MB / 1.822 GB, free: 178 MB / 1.354 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00228/1.748, allocations: 2.677 MB / 1.825 GB, free: 175.3 MB / 1.354 GB Notification: Performance of simCode: alias equations: time 0.000805/1.749, allocations: 387.3 kB / 1.825 GB, free: 174.9 MB / 1.354 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008482/1.75, allocations: 1.468 MB / 1.827 GB, free: 173.4 MB / 1.354 GB Notification: Performance of SimCode: time 1.863e-06/1.75, allocations: 0 / 1.827 GB, free: 173.4 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1963/1.946, allocations: 129.3 MB / 1.953 GB, free: 44.86 MB / 1.354 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.379/11.33, allocations: 14.11 kB / 1.953 GB, free: 44.85 MB / 1.354 GB " [Timeout remaining time 289] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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_ACLineMatrix_RL_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.878184298053384]