Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001499/0.001499, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002049/0.002049, allocations: 190.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.906/2.906, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 65.47 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3985, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow): time 0.004081/0.4026, allocations: 2.255 MB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002244/0.4049, allocations: 1.44 MB / 1.072 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001554/0.4051, allocations: 7.938 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.4057, allocations: 183.6 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.4061, allocations: 139.3 kB / 1.072 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.4065, allocations: 167.5 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.4069, allocations: 255.1 kB / 1.073 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.4071, allocations: 64.92 kB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.4072, allocations: 103.5 kB / 1.073 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.4074, allocations: 107.4 kB / 1.073 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.4075, allocations: 16 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.4076, allocations: 59.91 kB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.4078, allocations: 95.67 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.4079, allocations: 154.8 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004279/0.4083, allocations: 378.5 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4083, allocations: 4 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.358e-06/0.4084, allocations: 4 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.4084, allocations: 0 / 1.073 GB, free: 4.984 MB / 0.8262 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.001078/0.4095, allocations: 0.7036 MB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.4095, allocations: 8.031 kB / 1.074 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.4096, allocations: 56.28 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000638/0.4103, allocations: 408 kB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.4103, allocations: 12.38 kB / 1.075 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.4103, allocations: 7.938 kB / 1.075 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002156/0.4105, allocations: 99.83 kB / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.4106, allocations: 0 / 1.075 GB, free: 3.609 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4106, allocations: 4 kB / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4106, allocations: 0 / 1.075 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.4108, allocations: 47.98 kB / 1.075 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.4116, allocations: 0.4887 MB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.412, allocations: 106.7 kB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.4121, allocations: 40.84 kB / 1.075 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.4122, allocations: 4 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.4123, allocations: 83.31 kB / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.4124, allocations: 0 / 1.075 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000413/0.4128, allocations: 181 kB / 1.076 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.4128, allocations: 51.41 kB / 1.076 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.4135, allocations: 0.5067 MB / 1.076 GB, free: 2.004 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.4135, allocations: 29.7 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.4137, allocations: 224 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.134e-05/0.4137, allocations: 27.64 kB / 1.076 GB, free: 1.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.4138, allocations: 53.62 kB / 1.076 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.414, allocations: 362.7 kB / 1.077 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4141, allocations: 47.98 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.4143, allocations: 79.48 kB / 1.077 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.4145, allocations: 95.94 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4145, allocations: 0 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003697/0.4149, allocations: 216.8 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4149, allocations: 5.406 kB / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4149, allocations: 0 / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.4149, allocations: 0 / 1.077 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.4151, allocations: 43.91 kB / 1.077 GB, free: 0.8008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4151, allocations: 8.047 kB / 1.077 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.4153, allocations: 15.98 kB / 1.077 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.529e-05/0.4153, allocations: 4 kB / 1.077 GB, free: 0.7734 MB / 0.8262 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.0001902/0.4155, allocations: 193.1 kB / 1.078 GB, free: 0.5781 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.017e-05/0.4155, allocations: 43.44 kB / 1.078 GB, free: 0.5352 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.4156, allocations: 47.91 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4156, allocations: 0 / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4156, allocations: 4 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4157, allocations: 4 kB / 1.078 GB, free: 492 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003816/0.416, allocations: 321.3 kB / 1.078 GB, free: 120 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4161, allocations: 3.984 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.4161, allocations: 11.94 kB / 1.078 GB, free: 104 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.4161, allocations: 4 kB / 1.078 GB, free: 100 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.4162, allocations: 8 kB / 1.078 GB, free: 92 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4162, allocations: 4.359 kB / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4162, allocations: 0 / 1.078 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/0.4166, allocations: 220.5 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.569e-05/0.4167, allocations: 116.6 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.4168, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.835e-05/0.4169, allocations: 4 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.238e-05/0.4169, allocations: 11.98 kB / 1.078 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4169, allocations: 7.984 kB / 1.078 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003931/0.4173, allocations: 354.8 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4173, allocations: 0 / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002652/0.4176, allocations: 40 kB / 1.079 GB, free: 15.3 MB / 0.8419 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 (mFue_flow.tab.nextTimeEventScaled,assFue.hys.y,mFue_flow.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00105/0.4187, allocations: 429.2 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003009/0.419, allocations: 119.8 kB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.419, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.626e-05/0.4191, allocations: 39.98 kB / 1.079 GB, free: 14.88 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4195, allocations: 68.97 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4207, allocations: 0.6954 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.4211, allocations: 0.8259 MB / 1.081 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.4213, allocations: 29.94 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.4213, allocations: 35.42 kB / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.4213, allocations: 0 / 1.081 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of Templates: time 0.007627/0.429, allocations: 3.066 MB / 1.084 GB, free: 10.14 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.sim & ./Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertFuelFlow.pipe 2>&1)