Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.0008025/0.0008025, allocations: 80.55 kB / 19.96 MB, free: 4.605 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.001757/0.001757, allocations: 173.2 kB / 23.24 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.918/0.918, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.766/1.766, allocations: 389.6 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.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.062e-06/1.062e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.229e-05, allocations: 6.219 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.005058/0.005071, allocations: 6.391 MB / 1.007 GB, free: 7.105 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.00785, allocations: 2.997 MB / 1.01 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002167/0.008067, allocations: 39.62 kB / 1.01 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.009239, allocations: 0.949 MB / 1.011 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000558/0.009797, allocations: 0.5318 MB / 1.011 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005003/0.0103, allocations: 442.2 kB / 1.012 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007947/0.01109, allocations: 1.259 MB / 1.013 GB, free: 0.875 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005478/0.01164, allocations: 0.5295 MB / 1.013 GB, free: 344 kB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005092/0.01215, allocations: 0.6624 MB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004144/0.01256, allocations: 482.6 kB / 1.015 GB, free: 15.2 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.638e-05/0.01263, allocations: 64 kB / 1.015 GB, free: 15.14 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.01296, allocations: 351.1 kB / 1.015 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.01315, allocations: 331 kB / 1.015 GB, free: 14.47 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002109/0.01337, allocations: 311.2 kB / 1.016 GB, free: 14.16 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.01416, allocations: 1.254 MB / 1.017 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.01416, allocations: 0 / 1.017 GB, free: 12.91 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01416, allocations: 4 kB / 1.017 GB, free: 12.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.327e-06/0.01417, allocations: 0 / 1.017 GB, free: 12.9 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001132/0.0153, allocations: 1.092 MB / 1.018 GB, free: 11.78 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.01534, allocations: 9.344 kB / 1.018 GB, free: 11.77 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.479e-05/0.01543, allocations: 118.7 kB / 1.018 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009096/0.01634, allocations: 248.1 kB / 1.018 GB, free: 11.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.01692, allocations: 0.5223 MB / 1.019 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.01695, allocations: 49.67 kB / 1.019 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.01707, allocations: 64.36 kB / 1.019 GB, free: 10.75 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009978/0.01806, allocations: 1.332 MB / 1.02 GB, free: 9.242 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.01809, allocations: 16.06 kB / 1.02 GB, free: 9.227 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.01814, allocations: 36.11 kB / 1.02 GB, free: 9.191 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-05/0.01823, allocations: 85.25 kB / 1.02 GB, free: 9.109 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007632/0.01899, allocations: 0.7504 MB / 1.021 GB, free: 8.359 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002896/0.02189, allocations: 4.62 MB / 1.026 GB, free: 3.574 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.02258, allocations: 0.5049 MB / 1.026 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.02285, allocations: 290.2 kB / 1.026 GB, free: 2.773 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.02288, allocations: 8.5 kB / 1.026 GB, free: 2.762 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.0229, allocations: 39.06 kB / 1.026 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=47): time 1.864e-06/0.02291, allocations: 0 / 1.026 GB, free: 2.715 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48): time 0.002174/0.02508, allocations: 1.689 MB / 1.028 GB, free: 1.008 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.02511, allocations: 55.91 kB / 1.028 GB, free: 0.9414 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000387/0.02549, allocations: 0.5664 MB / 1.029 GB, free: 372 kB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.02552, allocations: 37.64 kB / 1.029 GB, free: 328 kB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.0257, allocations: 424.2 kB / 1.029 GB, free: 15.89 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/0.02578, allocations: 178.5 kB / 1.029 GB, free: 15.72 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.02589, allocations: 126.6 kB / 1.029 GB, free: 15.59 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.026, allocations: 370.8 kB / 1.03 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.02626, allocations: 273.8 kB / 1.03 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.0266, allocations: 0.493 MB / 1.03 GB, free: 14.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.02724, allocations: 0.8125 MB / 1.031 GB, free: 13.46 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.02724, allocations: 4 kB / 1.031 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001037/0.02828, allocations: 1.07 MB / 1.032 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.02829, allocations: 12.81 kB / 1.032 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.0283, allocations: 8 kB / 1.032 GB, free: 12.34 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.02876, allocations: 275.2 kB / 1.033 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.02905, allocations: 127.8 kB / 1.033 GB, free: 11.94 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/0.03283, allocations: 6.686 MB / 1.039 GB, free: 4.781 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.03309, allocations: 36.16 kB / 1.039 GB, free: 4.746 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.952e-05/0.03312, allocations: 28 kB / 1.039 GB, free: 4.719 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 (67): * Single equations (assignments): 63 * 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 {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002506/0.03337, allocations: 248.2 kB / 1.04 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.3e-05/0.03343, allocations: 83.52 kB / 1.04 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009014/0.03433, allocations: 0.8784 MB / 1.04 GB, free: 3.496 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.03434, allocations: 8 kB / 1.04 GB, free: 3.488 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.03434, allocations: 3.938 kB / 1.04 GB, free: 3.484 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.03434, allocations: 7.984 kB / 1.04 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.03588, allocations: 1.614 MB / 1.042 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.03588, allocations: 0 / 1.042 GB, free: 1.785 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001438/0.03602, allocations: 59.89 kB / 1.042 GB, free: 1.727 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.03642, allocations: 263.4 kB / 1.042 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.03645, allocations: 15.94 kB / 1.042 GB, free: 1.441 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003706/0.04015, allocations: 6.675 MB / 1.049 GB, free: 10.31 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.04015, allocations: 0 / 1.049 GB, free: 10.31 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008896/0.04104, allocations: 0.9777 MB / 1.05 GB, free: 9.281 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001514/0.0412, allocations: 119.4 kB / 1.05 GB, free: 9.164 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.04124, allocations: 19.92 kB / 1.05 GB, free: 9.145 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.04143, allocations: 24.16 kB / 1.05 GB, free: 9.121 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.04149, allocations: 47.86 kB / 1.05 GB, free: 9.074 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.997e-05/0.04151, allocations: 20 kB / 1.05 GB, free: 9.055 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002635/0.04177, allocations: 383.1 kB / 1.05 GB, free: 8.684 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.04177, allocations: 0 / 1.05 GB, free: 8.684 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004648/0.04224, allocations: 228 kB / 1.051 GB, free: 8.461 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/0.04331, allocations: 1.523 MB / 1.052 GB, free: 6.875 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001169/0.04448, allocations: 1.236 MB / 1.053 GB, free: 5.59 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.04448, allocations: 0 / 1.053 GB, free: 5.59 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0006434/0.04513, allocations: 0.8581 MB / 1.054 GB, free: 4.68 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005915/0.04572, allocations: 219.5 kB / 1.054 GB, free: 4.473 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3811/0.4268, allocations: 6.354 MB / 1.061 GB, free: 93.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.427, allocations: 417 kB / 1.061 GB, free: 93.62 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002923/0.4273, allocations: 119.9 kB / 1.061 GB, free: 93.61 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.4275, allocations: 254.5 kB / 1.061 GB, free: 93.61 MB / 1.01 GB Notification: Performance of SimCode: time 1.022e-06/0.4275, allocations: 0 / 1.061 GB, free: 93.61 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09262/0.5201, allocations: 19.33 MB / 1.08 GB, free: 91.4 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/7.874, allocations: 8.594 kB / 1.08 GB, free: 91.4 MB / 1.01 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_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_OnePhase_Lines_Examples_ACLine_R.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.28481525182724]