Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007898/0.0007898, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001408/0.001408, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8546/0.8546, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.67/1.67, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.293e-05, allocations: 6.281 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.002398/0.002411, allocations: 2.232 MB / 0.9832 GB, free: 348 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.003832, allocations: 1.493 MB / 0.9846 GB, free: 14.84 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.172e-05/0.003924, allocations: 11.94 kB / 0.9846 GB, free: 14.83 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004181/0.004342, allocations: 171.1 kB / 0.9848 GB, free: 14.66 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003133/0.004655, allocations: 179 kB / 0.985 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001852/0.00484, allocations: 135.5 kB / 0.9851 GB, free: 14.35 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.000248/0.005088, allocations: 286.9 kB / 0.9854 GB, free: 14.07 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005212, allocations: 44.83 kB / 0.9854 GB, free: 14.03 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.005344, allocations: 147.5 kB / 0.9855 GB, free: 13.88 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.005472, allocations: 103.7 kB / 0.9856 GB, free: 13.78 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.005495, allocations: 12 kB / 0.9857 GB, free: 13.77 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.005586, allocations: 51.98 kB / 0.9857 GB, free: 13.72 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.005665, allocations: 103.6 kB / 0.9858 GB, free: 13.62 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.691e-05/0.005732, allocations: 83.64 kB / 0.9859 GB, free: 13.54 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.000299/0.006031, allocations: 382.6 kB / 0.9863 GB, free: 13.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.006034, allocations: 4 kB / 0.9863 GB, free: 13.16 MB / 0.948 GB Notification: Performance of FrontEnd: time 9.22e-07/0.006035, allocations: 0 / 0.9863 GB, free: 13.16 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.00604, allocations: 0 / 0.9863 GB, free: 13.16 MB / 0.948 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.0006902/0.00673, allocations: 0.6513 MB / 0.9869 GB, free: 12.47 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.006767, allocations: 8.031 kB / 0.9869 GB, free: 12.46 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.371e-05/0.006801, allocations: 42.73 kB / 0.9869 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.179e-05/0.006853, allocations: 48.61 kB / 0.987 GB, free: 12.37 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000348/0.007201, allocations: 360.5 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.007215, allocations: 8.375 kB / 0.9873 GB, free: 11.98 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.007237, allocations: 12.38 kB / 0.9873 GB, free: 11.96 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.007405, allocations: 119.5 kB / 0.9875 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.007414, allocations: 0 / 0.9875 GB, free: 11.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.007426, allocations: 8 kB / 0.9875 GB, free: 11.83 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.007433, allocations: 4 kB / 0.9875 GB, free: 11.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.377e-05/0.007527, allocations: 55.91 kB / 0.9875 GB, free: 11.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004926/0.008019, allocations: 447.6 kB / 0.988 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.008171, allocations: 82.58 kB / 0.988 GB, free: 11.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.153e-05/0.008212, allocations: 32.98 kB / 0.9881 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.008229, allocations: 3.938 kB / 0.9881 GB, free: 11.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001355/0.008365, allocations: 121.1 kB / 0.9882 GB, free: 11.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.008366, allocations: 3.938 kB / 0.9882 GB, free: 11.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=9): time 0.0002499/0.008616, allocations: 173.3 kB / 0.9884 GB, free: 10.84 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.008644, allocations: 59.34 kB / 0.9884 GB, free: 10.77 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003425/0.008987, allocations: 0.5068 MB / 0.9889 GB, free: 10.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.009001, allocations: 25.7 kB / 0.9889 GB, free: 10.22 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.00912, allocations: 236.1 kB / 0.9892 GB, free: 9.988 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.009146, allocations: 23.84 kB / 0.9892 GB, free: 9.965 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/0.009198, allocations: 45.66 kB / 0.9892 GB, free: 9.914 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.009297, allocations: 366.8 kB / 0.9896 GB, free: 9.547 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.402e-05/0.009371, allocations: 47.98 kB / 0.9896 GB, free: 9.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.614e-05/0.009458, allocations: 108.2 kB / 0.9897 GB, free: 9.379 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.009568, allocations: 99.58 kB / 0.9898 GB, free: 9.277 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.009571, allocations: 4 kB / 0.9898 GB, free: 9.273 MB / 0.948 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001941/0.009765, allocations: 211.6 kB / 0.99 GB, free: 9.062 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009779, allocations: 8 kB / 0.99 GB, free: 9.055 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.009784, allocations: 0 / 0.99 GB, free: 9.055 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.948e-06/0.009794, allocations: 0 / 0.99 GB, free: 9.055 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.01004, allocations: 44.03 kB / 0.9901 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01004, allocations: 0 / 0.9901 GB, free: 9.012 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.845e-05/0.0101, allocations: 11.94 kB / 0.9901 GB, free: 9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.01012, allocations: 15.98 kB / 0.9901 GB, free: 8.984 MB / 0.948 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.0001186/0.01024, allocations: 189.7 kB / 0.9903 GB, free: 8.789 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.01027, allocations: 51.98 kB / 0.9903 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.01045, allocations: 161.6 kB / 0.9905 GB, free: 8.574 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.01046, allocations: 4 kB / 0.9905 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01046, allocations: 0 / 0.9905 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01046, allocations: 4 kB / 0.9905 GB, free: 8.566 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/0.01063, allocations: 272.6 kB / 0.9907 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.01063, allocations: 0 / 0.9907 GB, free: 8.258 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.677e-05/0.01067, allocations: 11.98 kB / 0.9908 GB, free: 8.246 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01067, allocations: 3.938 kB / 0.9908 GB, free: 8.242 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.01068, allocations: 4 kB / 0.9908 GB, free: 8.238 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.01068, allocations: 4 kB / 0.9908 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01068, allocations: 0 / 0.9908 GB, free: 8.234 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002155/0.0109, allocations: 232.6 kB / 0.991 GB, free: 7.988 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.457e-05/0.01093, allocations: 47.58 kB / 0.991 GB, free: 7.941 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.01096, allocations: 12 kB / 0.9911 GB, free: 7.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.145e-05/0.011, allocations: 7.984 kB / 0.9911 GB, free: 7.922 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.01103, allocations: 11.97 kB / 0.9911 GB, free: 7.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01104, allocations: 8 kB / 0.9911 GB, free: 7.902 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002392/0.01128, allocations: 358.8 kB / 0.9914 GB, free: 7.555 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01128, allocations: 0 / 0.9914 GB, free: 7.555 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001733/0.01145, allocations: 47.94 kB / 0.9915 GB, free: 7.508 MB / 0.948 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.0009912/0.01245, allocations: 1.104 MB / 0.9925 GB, free: 6.562 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.01261, allocations: 103.9 kB / 0.9926 GB, free: 6.461 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.01261, allocations: 0 / 0.9926 GB, free: 6.461 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.342e-05/0.01266, allocations: 39.92 kB / 0.9927 GB, free: 6.422 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.0129, allocations: 72.14 kB / 0.9927 GB, free: 6.352 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002263/0.01516, allocations: 3.148 MB / 0.9958 GB, free: 3.117 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.0153, allocations: 224.8 kB / 0.996 GB, free: 2.875 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 7.278e-05/0.01537, allocations: 37.92 kB / 0.9961 GB, free: 2.84 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.01548, allocations: 128.5 kB / 0.9962 GB, free: 2.715 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/0.01548, allocations: 0 / 0.9962 GB, free: 2.715 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02833/0.04381, allocations: 8.702 MB / 1.005 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.941/6.985, allocations: 9.484 kB / 1.005 GB, free: 10.14 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertFuelFlow.fmu > Buildings_12_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 10.986496526747942] Failed to read output from testmodel.py, exit status != 0: 7.086120750755072 7.094876027 7.087104367 Calling exit ...