Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 105.2 kB / 16.36 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 191.2 kB / 17.3 MB, free: 5.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.909/1.909, allocations: 292.3 MB / 0.5496 GB, free: 17.54 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 67.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.223, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004736/0.2278, allocations: 2.271 MB / 0.787 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4783/0.7062, allocations: 1.354 MB / 0.7883 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002876/0.7065, allocations: 2.906 kB / 0.7883 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007136/0.7073, allocations: 185.8 kB / 0.7885 GB, free: 46.47 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0004207/0.7077, allocations: 139.1 kB / 0.7886 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004646/0.7082, allocations: 134.1 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.7086, allocations: 271.6 kB / 0.789 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002185/0.7088, allocations: 56.09 kB / 0.7891 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.709, allocations: 106 kB / 0.7892 GB, free: 46.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.7092, allocations: 113 kB / 0.7893 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.7093, allocations: 14.47 kB / 0.7893 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.7094, allocations: 51.81 kB / 0.7894 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.7096, allocations: 96.94 kB / 0.7894 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.7097, allocations: 143.9 kB / 0.7896 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004277/0.7101, allocations: 395.5 kB / 0.79 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.7102, allocations: 4.891 kB / 0.79 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.753e-06/0.7102, allocations: 0 / 0.79 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.7102, allocations: 0 / 0.79 GB, free: 46.24 MB / 0.6544 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.0009153/0.7111, allocations: 0.7139 MB / 0.7907 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7111, allocations: 8.406 kB / 0.7907 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.421e-05/0.7112, allocations: 45.28 kB / 0.7907 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004577/0.7117, allocations: 411.6 kB / 0.7911 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.7117, allocations: 9.75 kB / 0.7911 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.7118, allocations: 9.188 kB / 0.7911 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.712, allocations: 92.41 kB / 0.7912 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.712, allocations: 0 / 0.7912 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.712, allocations: 1.625 kB / 0.7912 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.712, allocations: 2.625 kB / 0.7912 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.7121, allocations: 55.34 kB / 0.7913 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.7128, allocations: 495.9 kB / 0.7917 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.7132, allocations: 108.4 kB / 0.7918 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.764e-05/0.7133, allocations: 40.33 kB / 0.7919 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.543e-05/0.7133, allocations: 4.344 kB / 0.7919 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001698/0.7135, allocations: 88.05 kB / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.7135, allocations: 0 / 0.792 GB, free: 45 MB / 0.6544 GB Notification: Performance of matching and sorting (n=9): time 0.0003699/0.7139, allocations: 183.1 kB / 0.7921 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.7139, allocations: 54.75 kB / 0.7922 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004666/0.7144, allocations: 0.4969 MB / 0.7927 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.7144, allocations: 30.02 kB / 0.7927 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.7146, allocations: 226.7 kB / 0.7929 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.871e-05/0.7146, allocations: 27.56 kB / 0.793 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.44e-05/0.7147, allocations: 51.67 kB / 0.793 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.7148, allocations: 358.8 kB / 0.7933 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.92e-05/0.7149, allocations: 50.48 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.715, allocations: 76.84 kB / 0.7935 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.7152, allocations: 101.9 kB / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.7152, allocations: 0 / 0.7936 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002851/0.7155, allocations: 207.8 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.7155, allocations: 6.031 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.7155, allocations: 6.25 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.7156, allocations: 3.469 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.7157, allocations: 42.47 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7157, allocations: 0 / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.7159, allocations: 18.78 kB / 0.7938 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.7159, allocations: 5.25 kB / 0.7938 GB, free: 44.19 MB / 0.6544 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.0001568/0.716, allocations: 185.1 kB / 0.794 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.7161, allocations: 59 kB / 0.7941 GB, free: 44.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.7162, allocations: 45.2 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7162, allocations: 0 / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.7162, allocations: 3.438 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.7163, allocations: 107.5 kB / 0.7942 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/0.7163, allocations: 7.328 kB / 0.7942 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.7164, allocations: 3.469 kB / 0.7942 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.7165, allocations: 20.89 kB / 0.7943 GB, free: 43.92 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000276/0.7168, allocations: 202.2 kB / 0.7944 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003259/0.7171, allocations: 367.4 kB / 0.7948 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.874e-05/0.7172, allocations: 38.23 kB / 0.7948 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0003238/0.7175, allocations: 353.1 kB / 0.7952 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of Backend: time 7.21e-07/0.7175, allocations: 4.969 kB / 0.7952 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.719, allocations: 491.3 kB / 0.7956 GB, free: 43.41 MB / 0.6544 GB Notification: Performance of SimCode: time 0.001179/0.7202, allocations: 1.173 MB / 0.7968 GB, free: 42.62 MB / 0.6544 GB Notification: Performance of Templates: time 0.007763/0.7279, allocations: 3.137 MB / 0.7999 GB, free: 42.44 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)