Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.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.0008348/0.0008348, allocations: 104.3 kB / 19.72 MB, free: 428 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.0008888/0.0008888, allocations: 219.3 kB / 23.03 MB, free: 2.945 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.9295/0.9295, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.963/1.963, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 177] 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.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow,fileNamePrefix="Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009139/0.0009139, allocations: 71.89 kB / 1.177 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.702, allocations: 180 MB / 1.352 GB, free: 1.707 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow): time 0.003184/0.7052, allocations: 2.406 MB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.707, allocations: 1.627 MB / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.7071, allocations: 0 / 1.356 GB, free: 13.66 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007573/0.7079, allocations: 328 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006774/0.7085, allocations: 266.9 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000328/0.7089, allocations: 208.8 kB / 1.357 GB, free: 12.87 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0003467/0.7092, allocations: 410.7 kB / 1.358 GB, free: 12.47 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.7093, allocations: 44.92 kB / 1.358 GB, free: 12.43 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.7095, allocations: 175.2 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.7096, allocations: 175.2 kB / 1.358 GB, free: 12.08 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.7097, allocations: 20 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.7098, allocations: 79.94 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 9.936e-05/0.7099, allocations: 131.5 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.995e-05/0.71, allocations: 142.8 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004045/0.7104, allocations: 0.5234 MB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.7104, allocations: 0 / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7104, allocations: 4 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.7104, allocations: 3.938 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008153/0.7112, allocations: 0.793 MB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.7113, allocations: 12.91 kB / 1.36 GB, free: 10.34 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.219e-05/0.7113, allocations: 38.75 kB / 1.36 GB, free: 10.29 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.7114, allocations: 64.52 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.7117, allocations: 375.4 kB / 1.36 GB, free: 9.836 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.7118, allocations: 11.94 kB / 1.36 GB, free: 9.824 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.7118, allocations: 19.98 kB / 1.36 GB, free: 9.805 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.712, allocations: 147.3 kB / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.712, allocations: 0 / 1.36 GB, free: 9.648 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.712, allocations: 4 kB / 1.36 GB, free: 9.645 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.712, allocations: 4 kB / 1.36 GB, free: 9.641 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.7121, allocations: 75.89 kB / 1.36 GB, free: 9.566 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/0.7127, allocations: 0.519 MB / 1.361 GB, free: 9.004 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.7128, allocations: 130.6 kB / 1.361 GB, free: 8.867 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.7129, allocations: 48.78 kB / 1.361 GB, free: 8.816 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.7129, allocations: 0 / 1.361 GB, free: 8.816 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.7131, allocations: 145.8 kB / 1.361 GB, free: 8.656 MB / 1.042 GB Notification: Performance of pre-optimization done (n=13): time 9.42e-07/0.7131, allocations: 0 / 1.361 GB, free: 8.656 MB / 1.042 GB Notification: Performance of matching and sorting (n=13): time 0.0003295/0.7134, allocations: 252.3 kB / 1.361 GB, free: 8.406 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.7134, allocations: 55.41 kB / 1.361 GB, free: 8.34 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.714, allocations: 0.7034 MB / 1.362 GB, free: 7.625 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.791e-05/0.714, allocations: 37.7 kB / 1.362 GB, free: 7.582 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.7141, allocations: 272.4 kB / 1.362 GB, free: 7.312 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.7142, allocations: 39.73 kB / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.7142, allocations: 53.66 kB / 1.362 GB, free: 7.215 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7143, allocations: 370.8 kB / 1.363 GB, free: 6.844 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.424e-05/0.7144, allocations: 79.97 kB / 1.363 GB, free: 6.766 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.7145, allocations: 177.7 kB / 1.363 GB, free: 6.566 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.7147, allocations: 140.8 kB / 1.363 GB, free: 6.422 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7147, allocations: 0 / 1.363 GB, free: 6.422 MB / 1.042 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002697/0.715, allocations: 286.8 kB / 1.363 GB, free: 6.137 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.715, allocations: 7.984 kB / 1.363 GB, free: 6.129 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.715, allocations: 4 kB / 1.364 GB, free: 6.125 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.715, allocations: 0 / 1.364 GB, free: 6.125 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.7151, allocations: 35.92 kB / 1.364 GB, free: 6.09 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.7151, allocations: 0 / 1.364 GB, free: 6.09 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.119e-05/0.7152, allocations: 24 kB / 1.364 GB, free: 6.066 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.7152, allocations: 8 kB / 1.364 GB, free: 6.059 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.runSig.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.mWat_flow.tab.nextTimeEvent,$whenCondition1,runSig.combiTimeTable.nextTimeEventScaled,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEvent,runSig.y,mWat_flow.tab.nextTimeEventScaled,$PRE.mWat_flow.tab.nextTimeEventScaled,mWat_flow.tab.nextTimeEvent,assWatMas.hys.y,$PRE.assWatMas.hys.y,assWatMas.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0001511/0.7153, allocations: 223.9 kB / 1.364 GB, free: 5.832 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.7156, allocations: 67.52 kB / 1.364 GB, free: 5.766 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.7159, allocations: 214.8 kB / 1.364 GB, free: 5.547 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.7159, allocations: 0 / 1.364 GB, free: 5.547 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.7159, allocations: 11.92 kB / 1.364 GB, free: 5.535 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7159, allocations: 0 / 1.364 GB, free: 5.535 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000207/0.7161, allocations: 324.5 kB / 1.364 GB, free: 5.176 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.7161, allocations: 4 kB / 1.364 GB, free: 5.172 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.727e-05/0.7161, allocations: 11.94 kB / 1.364 GB, free: 5.16 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.7161, allocations: 4 kB / 1.364 GB, free: 5.156 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.7161, allocations: 7.984 kB / 1.364 GB, free: 5.148 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.7161, allocations: 0 / 1.364 GB, free: 5.148 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.7162, allocations: 0 / 1.364 GB, free: 5.148 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.7164, allocations: 251.5 kB / 1.365 GB, free: 4.887 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.708e-05/0.7164, allocations: 55.55 kB / 1.365 GB, free: 4.832 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.7164, allocations: 7.938 kB / 1.365 GB, free: 4.824 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.807e-05/0.7165, allocations: 15.98 kB / 1.365 GB, free: 4.809 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.7165, allocations: 19.97 kB / 1.365 GB, free: 4.789 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.7165, allocations: 8 kB / 1.365 GB, free: 4.781 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003469/0.7169, allocations: 483 kB / 1.365 GB, free: 4.316 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.7169, allocations: 4 kB / 1.365 GB, free: 4.312 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001982/0.7171, allocations: 67.89 kB / 1.365 GB, free: 4.246 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,assWatMas.assMes.u,assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.y,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 5 (assWatMas.hys.y,mWat_flow.tab.nextTimeEvent,runSig.combiTimeTable.nextTimeEvent,mWat_flow.tab.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001045/0.7181, allocations: 1.127 MB / 1.366 GB, free: 3.273 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.7184, allocations: 163.9 kB / 1.367 GB, free: 3.113 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.7184, allocations: 0 / 1.367 GB, free: 3.113 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.59e-05/0.7184, allocations: 51.92 kB / 1.367 GB, free: 3.062 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.7187, allocations: 105.5 kB / 1.367 GB, free: 2.965 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0031/0.7218, allocations: 3.992 MB / 1.371 GB, free: 14.88 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.722, allocations: 266.7 kB / 1.371 GB, free: 14.59 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 8.648e-05/0.7221, allocations: 42.95 kB / 1.371 GB, free: 14.55 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/0.7225, allocations: 179.4 kB / 1.371 GB, free: 14.38 MB / 1.057 GB Notification: Performance of SimCode: time 3.81e-07/0.7225, allocations: 0 / 1.371 GB, free: 14.38 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08154/0.804, allocations: 10.92 MB / 1.382 GB, free: 3.586 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.458/8.262, allocations: 7.062 kB / 1.382 GB, free: 3.582 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe >> ../files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow_fmu --startTime=0 --stopTime=900 --stepSize=0.36 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy_res.csv --start-time 0 --stop-time 900 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.36 ../Buildings_13_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterFlow.fmu) > Buildings_13_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterFlow_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.04414392169565]