Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.0008495/0.0008495, allocations: 104.3 kB / 19.72 MB, free: 424 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.0008686/0.0008686, allocations: 210.8 kB / 23.02 MB, free: 2.973 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.9162/0.9162, allocations: 230.6 MB / 256.8 MB, free: 9.578 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 1.889/1.889, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 MB / 0.6511 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.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 71.89 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6628/0.6639, allocations: 180 MB / 1.352 GB, free: 1.672 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.1373/0.8012, allocations: 171.9 MB / 1.52 GB, free: 5.156 MB / 1.198 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.8079, allocations: 6.508 MB / 1.527 GB, free: 14.63 MB / 1.214 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006478/0.8086, allocations: 59.44 kB / 1.527 GB, free: 14.57 MB / 1.214 GB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.8097, allocations: 0.687 MB / 1.527 GB, free: 13.88 MB / 1.214 GB Notification: Performance of NFTyping.typeBindings: time 0.003093/0.8128, allocations: 2.388 MB / 1.53 GB, free: 11.48 MB / 1.214 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.8144, allocations: 1.431 MB / 1.531 GB, free: 10.07 MB / 1.214 GB Notification: Performance of NFFlatten.flatten: time 0.002146/0.8166, allocations: 2.919 MB / 1.534 GB, free: 7.145 MB / 1.214 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006112/0.8172, allocations: 0.6558 MB / 1.535 GB, free: 6.477 MB / 1.214 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.819, allocations: 1.609 MB / 1.536 GB, free: 4.871 MB / 1.214 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006843/0.8197, allocations: 0.8019 MB / 1.537 GB, free: 4.07 MB / 1.214 GB Notification: Performance of NFPackage.collectConstants: time 9.826e-05/0.8198, allocations: 96 kB / 1.537 GB, free: 3.977 MB / 1.214 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00163/0.8215, allocations: 1.656 MB / 1.539 GB, free: 2.316 MB / 1.214 GB Notification: Performance of NFScalarize.scalarize: time 0.0002265/0.8217, allocations: 378.6 kB / 1.539 GB, free: 1.945 MB / 1.214 GB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.8221, allocations: 477.8 kB / 1.539 GB, free: 1.477 MB / 1.214 GB Notification: Performance of NFConvertDAE.convert: time 0.001805/0.8239, allocations: 2.328 MB / 1.542 GB, free: 15.14 MB / 1.229 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8239, allocations: 4 kB / 1.542 GB, free: 15.14 MB / 1.229 GB Notification: Performance of FrontEnd: time 1.402e-06/0.8239, allocations: 0 / 1.542 GB, free: 15.14 MB / 1.229 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.824, allocations: 0 / 1.542 GB, free: 15.14 MB / 1.229 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002042/0.826, allocations: 1.571 MB / 1.543 GB, free: 13.52 MB / 1.229 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.826, allocations: 8.922 kB / 1.543 GB, free: 13.52 MB / 1.229 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.681e-05/0.8261, allocations: 110.5 kB / 1.543 GB, free: 13.4 MB / 1.229 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.8276, allocations: 0.5455 MB / 1.544 GB, free: 12.85 MB / 1.229 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.8289, allocations: 0.9313 MB / 1.545 GB, free: 11.89 MB / 1.229 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.829, allocations: 53.31 kB / 1.545 GB, free: 11.84 MB / 1.229 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.98e-05/0.829, allocations: 75.94 kB / 1.545 GB, free: 11.76 MB / 1.229 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.8305, allocations: 1.238 MB / 1.546 GB, free: 10.46 MB / 1.229 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.8305, allocations: 0 / 1.546 GB, free: 10.46 MB / 1.229 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.8305, allocations: 28 kB / 1.546 GB, free: 10.44 MB / 1.229 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.976e-05/0.8306, allocations: 37.25 kB / 1.546 GB, free: 10.4 MB / 1.229 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.8323, allocations: 1.19 MB / 1.547 GB, free: 9.207 MB / 1.229 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.8356, allocations: 2.864 MB / 1.55 GB, free: 6.27 MB / 1.229 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.8366, allocations: 0.6862 MB / 1.551 GB, free: 5.57 MB / 1.229 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004613/0.837, allocations: 423.8 kB / 1.551 GB, free: 5.148 MB / 1.229 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002618/0.8373, allocations: 132.4 kB / 1.551 GB, free: 5.02 MB / 1.229 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000635/0.8379, allocations: 0.6472 MB / 1.552 GB, free: 4.312 MB / 1.229 GB Notification: Performance of pre-optimization done (n=57): time 1.522e-06/0.8379, allocations: 0 / 1.552 GB, free: 4.312 MB / 1.229 GB Notification: Performance of matching and sorting (n=57): time 0.001987/0.8399, allocations: 1.295 MB / 1.553 GB, free: 3 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.491e-05/0.84, allocations: 148.8 kB / 1.553 GB, free: 2.824 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.8411, allocations: 1.163 MB / 1.555 GB, free: 1.645 MB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.8412, allocations: 41.7 kB / 1.555 GB, free: 1.598 MB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.8414, allocations: 421.7 kB / 1.555 GB, free: 1.18 MB / 1.229 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.8415, allocations: 202.3 kB / 1.555 GB, free: 0.9805 MB / 1.229 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.8417, allocations: 150.2 kB / 1.555 GB, free: 0.8281 MB / 1.229 GB Notification: Performance of setup shared object (initialization): time 8.015e-05/0.8418, allocations: 326 kB / 1.556 GB, free: 0.5039 MB / 1.229 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.8424, allocations: 478.6 kB / 1.556 GB, free: 32 kB / 1.229 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.8432, allocations: 0.9784 MB / 1.557 GB, free: 14.91 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.8443, allocations: 0.9332 MB / 1.558 GB, free: 13.92 MB / 1.245 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.8443, allocations: 0 / 1.558 GB, free: 13.92 MB / 1.245 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001565/0.8459, allocations: 1.237 MB / 1.559 GB, free: 12.66 MB / 1.245 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.8459, allocations: 37.69 kB / 1.559 GB, free: 12.61 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.8459, allocations: 8.281 kB / 1.559 GB, free: 12.61 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.8459, allocations: 4 kB / 1.559 GB, free: 12.6 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.8464, allocations: 191.7 kB / 1.559 GB, free: 12.41 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.8464, allocations: 11.94 kB / 1.559 GB, free: 12.4 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006247/0.847, allocations: 243.1 kB / 1.56 GB, free: 12.16 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.8471, allocations: 35.98 kB / 1.56 GB, free: 12.13 MB / 1.245 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004213/0.8475, allocations: 323.3 kB / 1.56 GB, free: 11.8 MB / 1.245 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.8476, allocations: 119.2 kB / 1.56 GB, free: 11.68 MB / 1.245 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.8488, allocations: 1.036 MB / 1.561 GB, free: 10.64 MB / 1.245 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.8488, allocations: 7.984 kB / 1.561 GB, free: 10.63 MB / 1.245 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8488, allocations: 11.94 kB / 1.561 GB, free: 10.62 MB / 1.245 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8488, allocations: 0 / 1.561 GB, free: 10.62 MB / 1.245 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/0.8516, allocations: 3.003 MB / 1.564 GB, free: 7.461 MB / 1.245 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.8516, allocations: 8 kB / 1.564 GB, free: 7.453 MB / 1.245 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002737/0.8519, allocations: 123.8 kB / 1.564 GB, free: 7.332 MB / 1.245 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8519, allocations: 8 kB / 1.564 GB, free: 7.324 MB / 1.245 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.8519, allocations: 24 kB / 1.564 GB, free: 7.301 MB / 1.245 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.8519, allocations: 19.98 kB / 1.564 GB, free: 7.281 MB / 1.245 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.8519, allocations: 15.94 kB / 1.564 GB, free: 7.266 MB / 1.245 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.8532, allocations: 1.372 MB / 1.566 GB, free: 5.773 MB / 1.245 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003208/0.8535, allocations: 258.9 kB / 1.566 GB, free: 5.52 MB / 1.245 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.8536, allocations: 27.94 kB / 1.566 GB, free: 5.492 MB / 1.245 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/0.8541, allocations: 91.91 kB / 1.566 GB, free: 5.402 MB / 1.245 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.8541, allocations: 67.73 kB / 1.566 GB, free: 5.336 MB / 1.245 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.8542, allocations: 39.97 kB / 1.566 GB, free: 5.297 MB / 1.245 GB Notification: Performance of sorting global known variables: time 0.0009728/0.8552, allocations: 0.8396 MB / 1.567 GB, free: 4.449 MB / 1.245 GB Notification: Performance of sort global known variables: time 6e-08/0.8552, allocations: 0 / 1.567 GB, free: 4.449 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.0006317/0.8558, allocations: 299.6 kB / 1.567 GB, free: 4.156 MB / 1.245 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001762/0.8575, allocations: 2.157 MB / 1.569 GB, free: 1.875 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.8588, allocations: 1.052 MB / 1.57 GB, free: 0.8008 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.8588, allocations: 0 / 1.57 GB, free: 0.8008 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.0004968/0.8593, allocations: 0.5025 MB / 1.571 GB, free: 288 kB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/0.8606, allocations: 0.5089 MB / 1.571 GB, free: 15.78 MB / 1.26 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.8702, allocations: 9.515 MB / 1.581 GB, free: 5.82 MB / 1.26 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.8705, allocations: 478.3 kB / 1.581 GB, free: 5.324 MB / 1.26 GB Notification: Performance of simCode: alias equations: time 0.0005499/0.8711, allocations: 265.6 kB / 1.581 GB, free: 5.062 MB / 1.26 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003548/0.8714, allocations: 347.3 kB / 1.582 GB, free: 4.723 MB / 1.26 GB Notification: Performance of SimCode: time 7.21e-07/0.8714, allocations: 0 / 1.582 GB, free: 4.723 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09707/0.9685, allocations: 33.64 MB / 1.615 GB, free: 3.652 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.423/8.391, allocations: 10.52 kB / 1.615 GB, free: 3.645 MB / 1.292 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 ../Buildings_13_Buildings_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu) > Buildings_13_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.109244310297072]