Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.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.0007912/0.0007912, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008284/0.0008284, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9422/0.9422, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.677/1.677, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.361e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002782/0.002806, allocations: 2.21 MB / 0.9527 GB, free: 1.254 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001946/0.004751, allocations: 1.497 MB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.004921, allocations: 4 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.000571/0.005492, allocations: 182.9 kB / 0.9543 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004036/0.005895, allocations: 179.1 kB / 0.9545 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.006182, allocations: 135.5 kB / 0.9546 GB, free: 15.26 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.006482, allocations: 290.8 kB / 0.9549 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.006628, allocations: 32.91 kB / 0.9549 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001678/0.006796, allocations: 143.6 kB / 0.9551 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.006939, allocations: 99.7 kB / 0.9552 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.006971, allocations: 16 kB / 0.9552 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.007106, allocations: 63.78 kB / 0.9552 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.007216, allocations: 107.6 kB / 0.9553 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.156e-05/0.007297, allocations: 71.66 kB / 0.9554 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0004429/0.00774, allocations: 394.6 kB / 0.9558 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.007742, allocations: 0 / 0.9558 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.613e-06/0.007744, allocations: 3.938 kB / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.00775, allocations: 0 / 0.9558 GB, free: 14.05 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007492/0.008499, allocations: 0.6513 MB / 0.9564 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.008537, allocations: 15.97 kB / 0.9564 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.008569, allocations: 34.75 kB / 0.9565 GB, free: 13.31 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.778e-05/0.008626, allocations: 52.61 kB / 0.9565 GB, free: 13.26 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.008977, allocations: 352.6 kB / 0.9569 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.008989, allocations: 4.375 kB / 0.9569 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.009011, allocations: 8.375 kB / 0.9569 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.009176, allocations: 131.3 kB / 0.957 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.009187, allocations: 3.984 kB / 0.957 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.009197, allocations: 8 kB / 0.957 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.009202, allocations: 0 / 0.957 GB, free: 12.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.009297, allocations: 55.97 kB / 0.9571 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.009823, allocations: 439.6 kB / 0.9575 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.009975, allocations: 86.67 kB / 0.9576 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.01002, allocations: 32.88 kB / 0.9576 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.01004, allocations: 4 kB / 0.9576 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001397/0.01018, allocations: 121 kB / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.01018, allocations: 0 / 0.9577 GB, free: 11.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0002639/0.01044, allocations: 185.2 kB / 0.9579 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.01047, allocations: 55.34 kB / 0.9579 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.01083, allocations: 0.5029 MB / 0.9584 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.01085, allocations: 33.7 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.01097, allocations: 224 kB / 0.9587 GB, free: 10.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.011, allocations: 23.94 kB / 0.9587 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.68e-05/0.01105, allocations: 57.64 kB / 0.9588 GB, free: 10.82 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.01115, allocations: 358.8 kB / 0.9591 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.01121, allocations: 52.36 kB / 0.9592 GB, free: 10.41 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.01132, allocations: 98.69 kB / 0.9592 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.01144, allocations: 107.2 kB / 0.9593 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.01144, allocations: 0 / 0.9593 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002071/0.01165, allocations: 218.9 kB / 0.9596 GB, free: 9.969 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.01166, allocations: 4 kB / 0.9596 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.01167, allocations: 7.875 kB / 0.9596 GB, free: 9.957 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.01168, allocations: 4 kB / 0.9596 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.01178, allocations: 32.05 kB / 0.9596 GB, free: 9.922 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.01179, allocations: 4 kB / 0.9596 GB, free: 9.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.279e-05/0.01185, allocations: 19.92 kB / 0.9596 GB, free: 9.898 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.01187, allocations: 4 kB / 0.9596 GB, free: 9.895 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.mFue_flow.tab.nextTimeEvent,$whenCondition1,mFue_flow.tab.nextTimeEventScaled,$PRE.mFue_flow.tab.nextTimeEventScaled,mFue_flow.tab.nextTimeEvent,assFue.hys.y,$PRE.assFue.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001338/0.012, allocations: 189.7 kB / 0.9598 GB, free: 9.699 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.01203, allocations: 51.61 kB / 0.9599 GB, free: 9.648 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001956/0.01223, allocations: 165.7 kB / 0.96 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01223, allocations: 0 / 0.96 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01223, allocations: 4 kB / 0.96 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.01224, allocations: 0 / 0.96 GB, free: 9.473 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.01241, allocations: 272.6 kB / 0.9603 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.01241, allocations: 0 / 0.9603 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.01245, allocations: 12 kB / 0.9603 GB, free: 9.152 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.01245, allocations: 7.922 kB / 0.9603 GB, free: 9.145 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.01246, allocations: 4 kB / 0.9603 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01246, allocations: 0 / 0.9603 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.01246, allocations: 0 / 0.9603 GB, free: 9.141 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002207/0.01268, allocations: 224.7 kB / 0.9605 GB, free: 8.902 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.01272, allocations: 43.64 kB / 0.9606 GB, free: 8.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.01274, allocations: 12.06 kB / 0.9606 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.239e-05/0.01278, allocations: 7.984 kB / 0.9606 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.01282, allocations: 11.98 kB / 0.9606 GB, free: 8.828 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.01283, allocations: 7.984 kB / 0.9606 GB, free: 8.82 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002404/0.01307, allocations: 358.8 kB / 0.9609 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01307, allocations: 192 / 0.9609 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001892/0.01326, allocations: 47.94 kB / 0.961 GB, free: 8.426 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assFue.floChaRat.x) * Number of discrete variables: 4 ($whenCondition1,assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of discrete states: 3 (assFue.hys.y,mFue_flow.tab.nextTimeEvent,mFue_flow.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001033/0.01429, allocations: 1.121 MB / 0.9621 GB, free: 7.457 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.01447, allocations: 99.84 kB / 0.9622 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01447, allocations: 0 / 0.9622 GB, free: 7.359 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/0.01452, allocations: 43.92 kB / 0.9622 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.01476, allocations: 74.25 kB / 0.9623 GB, free: 7.258 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.01715, allocations: 3.142 MB / 0.9654 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001362/0.01729, allocations: 220.8 kB / 0.9656 GB, free: 3.789 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.932e-05/0.01737, allocations: 37.94 kB / 0.9656 GB, free: 3.754 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.01748, allocations: 136.4 kB / 0.9657 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.01749, allocations: 0 / 0.9657 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.03898, allocations: 8.698 MB / 0.9742 GB, free: 11.04 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.94/6.979, allocations: 5.953 kB / 0.9742 GB, free: 11.03 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow_res.csv --start-time 0 --stop-time 1200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 11.126029359176755] Failed to read output from testmodel.py, exit status != 0: 7.083152589388192 7.091520288 7.082066194 Calling exit ...