Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.0009572/0.0009572, allocations: 80.55 kB / 19.96 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.0008308/0.0008308, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.8602/0.8602, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.755/1.755, allocations: 389.6 MB / 0.6343 GB, free: 12.56 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,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015e-05/1.141e-05, allocations: 5.938 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.007662/0.007673, allocations: 10.19 MB / 1.011 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.007339/0.01501, allocations: 8.378 MB / 1.019 GB, free: 10.86 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000533/0.01555, allocations: 91.19 kB / 1.019 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001889/0.01743, allocations: 1.674 MB / 1.021 GB, free: 9.098 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.002085/0.01952, allocations: 1.617 MB / 1.022 GB, free: 7.473 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.02034, allocations: 0.683 MB / 1.023 GB, free: 6.789 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001426/0.02176, allocations: 2.355 MB / 1.025 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009525/0.02272, allocations: 1.145 MB / 1.026 GB, free: 3.242 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.02389, allocations: 1.532 MB / 1.028 GB, free: 1.707 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.02459, allocations: 0.8295 MB / 1.028 GB, free: 0.875 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/0.02472, allocations: 136 kB / 1.029 GB, free: 0.7422 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000742/0.02546, allocations: 0.7483 MB / 1.029 GB, free: 15.99 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.0258, allocations: 0.5957 MB / 1.03 GB, free: 15.39 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004042/0.0262, allocations: 0.5922 MB / 1.031 GB, free: 14.8 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001638/0.02784, allocations: 2.597 MB / 1.033 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.02784, allocations: 0 / 1.033 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.62e-07/0.02785, allocations: 0 / 1.033 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.02786, allocations: 4 kB / 1.033 GB, free: 12.19 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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001924/0.02979, allocations: 1.96 MB / 1.035 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.02982, allocations: 13.34 kB / 1.035 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001603/0.02998, allocations: 186.1 kB / 1.035 GB, free: 9.988 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005875/0.03586, allocations: 2.071 MB / 1.037 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/0.03715, allocations: 1.117 MB / 1.038 GB, free: 6.742 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.0372, allocations: 82.7 kB / 1.038 GB, free: 6.66 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.03734, allocations: 112.4 kB / 1.038 GB, free: 6.551 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.04049, allocations: 2.709 MB / 1.041 GB, free: 3.645 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.933e-05/0.04052, allocations: 11.89 kB / 1.041 GB, free: 3.633 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.04063, allocations: 48 kB / 1.041 GB, free: 3.586 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.04082, allocations: 134.1 kB / 1.041 GB, free: 3.453 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.04479, allocations: 2.537 MB / 1.044 GB, free: 0.9062 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4037/0.4485, allocations: 7.665 MB / 1.051 GB, free: 77.54 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/0.4517, allocations: 1.849 MB / 1.053 GB, free: 77.19 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001457/0.4532, allocations: 0.955 MB / 1.054 GB, free: 76.96 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.4532, allocations: 3.406 kB / 1.054 GB, free: 76.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.4532, allocations: 44.94 kB / 1.054 GB, free: 76.92 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=53): time 4.829e-06/0.4532, allocations: 2.844 kB / 1.054 GB, free: 76.92 MB / 0.9948 GB Notification: Performance of matching and sorting (n=81): time 0.01649/0.4697, allocations: 9.117 MB / 1.063 GB, free: 75.11 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.4698, allocations: 60.5 kB / 1.063 GB, free: 75.05 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009751/0.4707, allocations: 1.113 MB / 1.064 GB, free: 74.61 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.4708, allocations: 42.67 kB / 1.064 GB, free: 74.56 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.4711, allocations: 0.7517 MB / 1.065 GB, free: 74.04 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4712, allocations: 284.3 kB / 1.065 GB, free: 73.85 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.4715, allocations: 200.5 kB / 1.065 GB, free: 73.77 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.346e-05/0.4715, allocations: 346 kB / 1.066 GB, free: 73.44 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.4731, allocations: 1.083 MB / 1.067 GB, free: 73.16 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.4747, allocations: 1.317 MB / 1.068 GB, free: 72.61 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003191/0.4779, allocations: 2.394 MB / 1.07 GB, free: 71.68 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.4779, allocations: 2.625 kB / 1.07 GB, free: 71.68 MB / 0.9948 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005336/0.4832, allocations: 3.293 MB / 1.074 GB, free: 70.62 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.4832, allocations: 8.156 kB / 1.074 GB, free: 70.62 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.4833, allocations: 11.06 kB / 1.074 GB, free: 70.61 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.4851, allocations: 0.8473 MB / 1.074 GB, free: 70.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.4863, allocations: 427.1 kB / 1.075 GB, free: 70.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.4954, allocations: 15.19 MB / 1.09 GB, free: 58.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.4969, allocations: 294.6 kB / 1.09 GB, free: 58.02 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001018/0.497, allocations: 52.53 kB / 1.09 GB, free: 58.02 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 (82): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.0005849/0.4976, allocations: 403.5 kB / 1.09 GB, free: 57.76 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.4978, allocations: 151.3 kB / 1.09 GB, free: 57.68 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/0.503, allocations: 3.211 MB / 1.094 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/0.5031, allocations: 7.344 kB / 1.094 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/0.5031, allocations: 11.06 kB / 1.094 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.5031, allocations: 5.391 kB / 1.094 GB, free: 56.68 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/0.5103, allocations: 4.683 MB / 1.098 GB, free: 54.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.5103, allocations: 2.594 kB / 1.098 GB, free: 54.98 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009808/0.5113, allocations: 356.6 kB / 1.099 GB, free: 54.97 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/0.513, allocations: 0.7724 MB / 1.099 GB, free: 54.73 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.5131, allocations: 28.81 kB / 1.099 GB, free: 54.73 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008443/0.5215, allocations: 14.8 MB / 1.114 GB, free: 42.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5215, allocations: 3.609 kB / 1.114 GB, free: 42.56 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.5267, allocations: 3.051 MB / 1.117 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.5274, allocations: 321.9 kB / 1.117 GB, free: 41.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.5275, allocations: 19.56 kB / 1.117 GB, free: 41.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5286, allocations: 297.4 kB / 1.117 GB, free: 41.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.5289, allocations: 88.11 kB / 1.117 GB, free: 41.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.5289, allocations: 39.92 kB / 1.118 GB, free: 41.28 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008221/0.5298, allocations: 0.7371 MB / 1.118 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5298, allocations: 0 / 1.118 GB, free: 40.98 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001399/0.5312, allocations: 444.7 kB / 1.119 GB, free: 40.95 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.005303/0.5365, allocations: 3.628 MB / 1.122 GB, free: 39.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005387/0.5418, allocations: 3.541 MB / 1.126 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.5419, allocations: 1.219 kB / 1.126 GB, free: 37.75 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.5448, allocations: 2.346 MB / 1.128 GB, free: 36.46 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.5464, allocations: 0.5201 MB / 1.128 GB, free: 36.29 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02448/0.5709, allocations: 16.25 MB / 1.144 GB, free: 28.96 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.5716, allocations: 0.809 MB / 1.145 GB, free: 28.5 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001143/0.5728, allocations: 377.5 kB / 1.145 GB, free: 28.3 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.5733, allocations: 0.6034 MB / 1.146 GB, free: 27.78 MB / 0.9948 GB Notification: Performance of SimCode: time 1.684e-06/0.5733, allocations: 0.7188 kB / 1.146 GB, free: 27.78 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1354/0.7086, allocations: 46.13 MB / 1.191 GB, free: 5.781 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.461/9.17, allocations: 9.828 kB / 1.191 GB, free: 5.777 MB / 1.01 GB " [Timeout remaining time 291] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe ; mkfifo Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_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.fmu) > Buildings_13_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.404314819723368]