Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.00104/0.00104, allocations: 80.52 kB / 19.95 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.001112/0.001112, allocations: 173.6 kB / 23.23 MB, free: 1.328 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.894/0.894, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.757/1.757, allocations: 389.5 MB / 0.6343 GB, free: 12.57 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.206e-05/1.388e-05, allocations: 6.219 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.004529/0.004543, allocations: 5.905 MB / 1.006 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002792/0.007335, allocations: 3.106 MB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000205/0.00754, allocations: 43.62 kB / 1.01 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001099/0.008639, allocations: 0.9329 MB / 1.01 GB, free: 3.484 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/0.009159, allocations: 0.4931 MB / 1.011 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005298/0.009688, allocations: 0.5047 MB / 1.011 GB, free: 2.484 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007107/0.0104, allocations: 1.139 MB / 1.013 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.0109, allocations: 0.51 MB / 1.013 GB, free: 0.8203 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004481/0.01135, allocations: 0.6039 MB / 1.014 GB, free: 220 kB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003651/0.01172, allocations: 426.8 kB / 1.014 GB, free: 15.8 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 5.81e-05/0.01177, allocations: 60 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.01215, allocations: 458.6 kB / 1.014 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.01232, allocations: 307.1 kB / 1.015 GB, free: 14.99 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.01249, allocations: 275.3 kB / 1.015 GB, free: 14.72 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007578/0.01325, allocations: 1.211 MB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.943e-06/0.01325, allocations: 0 / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01325, allocations: 0 / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.735e-06/0.01326, allocations: 4 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009457/0.01421, allocations: 0.9947 MB / 1.017 GB, free: 12.47 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01424, allocations: 17.34 kB / 1.017 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.221e-05/0.01433, allocations: 114.7 kB / 1.017 GB, free: 12.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.01521, allocations: 236.1 kB / 1.018 GB, free: 12.11 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/0.01578, allocations: 0.5236 MB / 1.018 GB, free: 11.56 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.0158, allocations: 49.67 kB / 1.018 GB, free: 11.51 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/0.01587, allocations: 64.36 kB / 1.018 GB, free: 11.45 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.01681, allocations: 1.123 MB / 1.019 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.01683, allocations: 12.08 kB / 1.019 GB, free: 10.18 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.01687, allocations: 40.11 kB / 1.019 GB, free: 10.14 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.017e-05/0.01693, allocations: 69.25 kB / 1.019 GB, free: 10.07 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006534/0.01759, allocations: 0.6918 MB / 1.02 GB, free: 9.379 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.02007, allocations: 4.498 MB / 1.024 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004581/0.02052, allocations: 410.1 kB / 1.025 GB, free: 4.305 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.02097, allocations: 380.6 kB / 1.025 GB, free: 3.93 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.02099, allocations: 4 kB / 1.025 GB, free: 3.926 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.02101, allocations: 42.56 kB / 1.025 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=41): time 1.663e-06/0.02101, allocations: 0 / 1.025 GB, free: 3.875 MB / 0.9792 GB Notification: Performance of matching and sorting (n=42): time 0.002325/0.02333, allocations: 1.73 MB / 1.027 GB, free: 2.125 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.02336, allocations: 63.34 kB / 1.027 GB, free: 2.051 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.02367, allocations: 478.6 kB / 1.027 GB, free: 1.57 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.0237, allocations: 33.7 kB / 1.027 GB, free: 1.531 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001577/0.02386, allocations: 400.1 kB / 1.028 GB, free: 1.137 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/0.02393, allocations: 154.7 kB / 1.028 GB, free: 0.9844 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-05/0.02403, allocations: 106.3 kB / 1.028 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.805e-05/0.02412, allocations: 362.8 kB / 1.028 GB, free: 0.5117 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000236/0.02436, allocations: 249.2 kB / 1.029 GB, free: 272 kB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.02468, allocations: 457 kB / 1.029 GB, free: 15.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.02527, allocations: 0.7558 MB / 1.03 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02527, allocations: 0 / 1.03 GB, free: 14.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001069/0.02634, allocations: 1.05 MB / 1.031 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.02636, allocations: 8 kB / 1.031 GB, free: 13.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.02636, allocations: 11.94 kB / 1.031 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005473/0.02691, allocations: 323.4 kB / 1.031 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.02708, allocations: 99.81 kB / 1.031 GB, free: 13.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.03119, allocations: 7.057 MB / 1.038 GB, free: 5.836 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001773/0.03137, allocations: 27.98 kB / 1.038 GB, free: 5.809 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.0314, allocations: 28 kB / 1.038 GB, free: 5.781 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.03159, allocations: 241.6 kB / 1.039 GB, free: 5.535 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.09e-05/0.03164, allocations: 67.55 kB / 1.039 GB, free: 5.469 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009793/0.03262, allocations: 0.8926 MB / 1.039 GB, free: 4.555 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.03262, allocations: 7.938 kB / 1.039 GB, free: 4.547 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.03263, allocations: 8 kB / 1.039 GB, free: 4.539 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.03263, allocations: 3.984 kB / 1.039 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.03414, allocations: 1.59 MB / 1.041 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03414, allocations: 4 kB / 1.041 GB, free: 2.859 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.03422, allocations: 43.97 kB / 1.041 GB, free: 2.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004598/0.03468, allocations: 315.5 kB / 1.041 GB, free: 2.496 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.0347, allocations: 8 kB / 1.041 GB, free: 2.488 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003755/0.03846, allocations: 7.054 MB / 1.048 GB, free: 10.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.03846, allocations: 7.938 kB / 1.048 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009169/0.03938, allocations: 0.9878 MB / 1.049 GB, free: 9.93 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.0395, allocations: 103.5 kB / 1.049 GB, free: 9.828 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.03954, allocations: 12 kB / 1.049 GB, free: 9.816 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.03968, allocations: 19.97 kB / 1.049 GB, free: 9.797 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.03974, allocations: 43.92 kB / 1.049 GB, free: 9.754 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.03976, allocations: 8 kB / 1.049 GB, free: 9.746 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002101/0.03997, allocations: 314.9 kB / 1.05 GB, free: 9.441 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.03997, allocations: 4 kB / 1.05 GB, free: 9.438 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004486/0.04041, allocations: 195.9 kB / 1.05 GB, free: 9.246 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.04153, allocations: 1.546 MB / 1.051 GB, free: 7.645 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001034/0.04257, allocations: 1.16 MB / 1.053 GB, free: 6.434 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.04257, allocations: 0 / 1.053 GB, free: 6.434 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/0.0432, allocations: 0.8345 MB / 1.053 GB, free: 5.551 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.04377, allocations: 210.2 kB / 1.054 GB, free: 5.359 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3803/0.424, allocations: 5.892 MB / 1.059 GB, free: 94.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/0.4243, allocations: 394.1 kB / 1.06 GB, free: 94.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002404/0.4245, allocations: 107.1 kB / 1.06 GB, free: 94.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.4247, allocations: 228.2 kB / 1.06 GB, free: 94.09 MB / 1.01 GB Notification: Performance of SimCode: time 7.42e-07/0.4247, allocations: 2.5 kB / 1.06 GB, free: 94.09 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09413/0.5188, allocations: 17.19 MB / 1.077 GB, free: 92.14 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.405/7.924, allocations: 2.219 kB / 1.077 GB, free: 92.14 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu) > Buildings_13_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.225928515195847]