Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.000866/0.000866, allocations: 80.55 kB / 19.96 MB, free: 4.598 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.0008895/0.0008895, allocations: 173.2 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.8777/0.8777, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.745/1.745, allocations: 389.5 MB / 0.6343 GB, free: 12.58 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_L_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.142e-05, allocations: 2.281 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03185/0.03188, allocations: 33.01 MB / 1.033 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01324/0.04511, allocations: 11.37 MB / 1.044 GB, free: 0.9727 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00304/0.04815, allocations: 210.4 kB / 1.044 GB, free: 0.7656 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.4491/0.4973, allocations: 4.274 MB / 1.048 GB, free: 51.39 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004603/0.5019, allocations: 2.152 MB / 1.05 GB, free: 51.08 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.5063, allocations: 2.431 MB / 1.053 GB, free: 50.98 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.00744/0.5137, allocations: 8.609 MB / 1.061 GB, free: 49.81 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007257/0.521, allocations: 6.189 MB / 1.067 GB, free: 47.51 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009328/0.5303, allocations: 5.399 MB / 1.073 GB, free: 45.21 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005736/0.5361, allocations: 3.904 MB / 1.076 GB, free: 44.28 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.002097/0.5382, allocations: 0.7777 MB / 1.077 GB, free: 44.28 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004547/0.5427, allocations: 1.924 MB / 1.079 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.003974/0.5467, allocations: 3.276 MB / 1.082 GB, free: 42.64 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.005646/0.5523, allocations: 2.372 MB / 1.085 GB, free: 41.58 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.01783/0.5701, allocations: 12.24 MB / 1.097 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.5702, allocations: 1.312 kB / 1.097 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5702, allocations: 0 / 1.097 GB, free: 38.12 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004516/0.5706, allocations: 0 / 1.097 GB, free: 38.12 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01771/0.5883, allocations: 5.806 MB / 1.102 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.5884, allocations: 10.83 kB / 1.102 GB, free: 34.93 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003011/0.5914, allocations: 0.8079 MB / 1.103 GB, free: 34.5 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.5971, allocations: 1.103 MB / 1.104 GB, free: 34.15 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007466/0.6046, allocations: 3.407 MB / 1.107 GB, free: 32.64 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003621/0.605, allocations: 418.3 kB / 1.108 GB, free: 32.46 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002123/0.6071, allocations: 0.5391 MB / 1.108 GB, free: 32.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02097/0.6281, allocations: 9.376 MB / 1.117 GB, free: 28.19 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000249/0.6283, allocations: 33.09 kB / 1.118 GB, free: 28.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.6297, allocations: 234.2 kB / 1.118 GB, free: 28.01 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003603/0.63, allocations: 356 kB / 1.118 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01401/0.644, allocations: 6.82 MB / 1.125 GB, free: 25.7 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03444/0.6785, allocations: 25.1 MB / 1.149 GB, free: 8.914 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002728/0.6812, allocations: 2.304 MB / 1.151 GB, free: 7.684 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002036/0.6832, allocations: 1.77 MB / 1.153 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.83e-05/0.6833, allocations: 19.88 kB / 1.153 GB, free: 6.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.6833, allocations: 50.84 kB / 1.153 GB, free: 6.715 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=179): time 6.342e-06/0.6833, allocations: 6.344 kB / 1.153 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of matching and sorting (n=182): time 0.02637/0.7097, allocations: 9.677 MB / 1.163 GB, free: 1.43 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.7097, allocations: 71.91 kB / 1.163 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.7112, allocations: 1.569 MB / 1.164 GB, free: 472 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002095/0.7114, allocations: 56.17 kB / 1.164 GB, free: 416 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001064/0.7124, allocations: 2.329 MB / 1.167 GB, free: 14.42 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005379/0.713, allocations: 0.6531 MB / 1.167 GB, free: 13.86 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004131/0.7134, allocations: 410 kB / 1.168 GB, free: 13.63 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/0.7135, allocations: 301.1 kB / 1.168 GB, free: 13.33 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7147, allocations: 1.175 MB / 1.169 GB, free: 12.72 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.7162, allocations: 1.887 MB / 1.171 GB, free: 11.2 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.7191, allocations: 3.375 MB / 1.174 GB, free: 8.945 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.7191, allocations: 6.938 kB / 1.174 GB, free: 8.945 MB / 1.01 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005463/0.7246, allocations: 4.539 MB / 1.179 GB, free: 5.047 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7246, allocations: 24.19 kB / 1.179 GB, free: 5.023 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/0.7246, allocations: 20 kB / 1.179 GB, free: 5.004 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002373/0.727, allocations: 1.578 MB / 1.18 GB, free: 3.422 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000794/0.7278, allocations: 355.3 kB / 1.181 GB, free: 3.074 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/0.744, allocations: 17.94 MB / 1.198 GB, free: 0.6953 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.7456, allocations: 123.8 kB / 1.198 GB, free: 0.5742 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/0.7458, allocations: 96 kB / 1.198 GB, free: 492 kB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003191/0.749, allocations: 1.89 MB / 1.2 GB, free: 14.58 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004657/0.7495, allocations: 234.5 kB / 1.2 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004582/0.7541, allocations: 4.042 MB / 1.204 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.7541, allocations: 20 kB / 1.204 GB, free: 10.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.621e-05/0.7541, allocations: 20 kB / 1.204 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.7541, allocations: 11.95 kB / 1.204 GB, free: 10.23 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.7665, allocations: 8.664 MB / 1.213 GB, free: 1.461 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.098e-06/0.7665, allocations: 4 kB / 1.213 GB, free: 1.457 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00046/0.7669, allocations: 183.9 kB / 1.213 GB, free: 1.277 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/0.7689, allocations: 1.358 MB / 1.214 GB, free: 15.91 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.769, allocations: 40 kB / 1.214 GB, free: 15.87 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/0.7831, allocations: 16.71 MB / 1.231 GB, free: 14.71 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7831, allocations: 4 kB / 1.231 GB, free: 14.7 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005137/0.7882, allocations: 4.032 MB / 1.235 GB, free: 10.58 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.7894, allocations: 474.4 kB / 1.235 GB, free: 10.11 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003275/0.7897, allocations: 36 kB / 1.235 GB, free: 10.08 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006397/0.7904, allocations: 83.89 kB / 1.235 GB, free: 9.996 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003531/0.7907, allocations: 177.5 kB / 1.235 GB, free: 9.824 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.7908, allocations: 48 kB / 1.235 GB, free: 9.777 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.001104/0.7919, allocations: 1.001 MB / 1.236 GB, free: 8.754 MB / 1.073 GB Notification: Performance of sort global known variables: time 5e-08/0.7919, allocations: 0 / 1.236 GB, free: 8.754 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.003085/0.795, allocations: 0.9844 MB / 1.237 GB, free: 7.77 MB / 1.073 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005001/0.8, allocations: 4.628 MB / 1.242 GB, free: 3.043 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.005111/0.8051, allocations: 4.158 MB / 1.246 GB, free: 14.88 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.8051, allocations: 0 / 1.246 GB, free: 14.88 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.003002/0.8081, allocations: 2.572 MB / 1.249 GB, free: 12.26 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/0.8108, allocations: 0.7947 MB / 1.249 GB, free: 11.5 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03575/0.8465, allocations: 27.04 MB / 1.276 GB, free: 15.4 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/0.8509, allocations: 3.043 MB / 1.279 GB, free: 12.31 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.001138/0.8521, allocations: 467.9 kB / 1.279 GB, free: 11.85 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/0.8538, allocations: 1.785 MB / 1.281 GB, free: 10.06 MB / 1.12 GB Notification: Performance of SimCode: time 1.964e-06/0.8538, allocations: 0 / 1.281 GB, free: 10.06 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1902/1.044, allocations: 78.53 MB / 1.358 GB, free: 12.67 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.747/9.791, allocations: 4 kB / 1.358 GB, free: 12.67 MB / 1.198 GB " [Timeout remaining time 290] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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_L_N.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.254085403867066]