Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001154, allocations: 108 kB / 15.61 MB, free: 128 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.001326/0.001326, allocations: 191.9 kB / 16.53 MB, free: 6.668 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.514/1.514, allocations: 205.1 MB / 222.4 MB, free: 4.609 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.561/1.561, allocations: 251.7 MB / 0.5092 GB, free: 3.148 MB / 414.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.001656/0.001656, allocations: 71.89 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.555/0.5567, allocations: 104.7 MB / 0.7245 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002636/0.5594, allocations: 1.281 MB / 0.7258 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.5605, allocations: 0.5906 MB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.5605, allocations: 0 / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.166e-05/0.5606, allocations: 3.938 kB / 0.7264 GB, free: 11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.623e-05/0.5606, allocations: 11.91 kB / 0.7264 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.5611, allocations: 146.3 kB / 0.7265 GB, free: 10.85 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.5612, allocations: 19.88 kB / 0.7265 GB, free: 10.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.5612, allocations: 4 kB / 0.7265 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.35e-05/0.5613, allocations: 11.92 kB / 0.7265 GB, free: 10.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.328e-05/0.5613, allocations: 11.98 kB / 0.7266 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.5613, allocations: 0 / 0.7266 GB, free: 10.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004835/0.5618, allocations: 343.3 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.971e-05/0.5619, allocations: 7.922 kB / 0.7269 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.91e-05/0.5619, allocations: 11.98 kB / 0.7269 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.5622, allocations: 137.7 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.5622, allocations: 3.938 kB / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5622, allocations: 0 / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5622, allocations: 0 / 0.727 GB, free: 10.31 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005236/0.5627, allocations: 363.3 kB / 0.7274 GB, free: 9.902 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5628, allocations: 12.03 kB / 0.7274 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.05e-05/0.5628, allocations: 0.9375 kB / 0.7274 GB, free: 9.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.563, allocations: 172.3 kB / 0.7276 GB, free: 9.684 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.563, allocations: 4.375 kB / 0.7276 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.563, allocations: 4.375 kB / 0.7276 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.5631, allocations: 42.25 kB / 0.7276 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.5631, allocations: 192 / 0.7276 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.5632, allocations: 3.938 kB / 0.7276 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5632, allocations: 0 / 0.7276 GB, free: 9.625 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.331e-05/0.5632, allocations: 19.92 kB / 0.7276 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000364/0.5636, allocations: 248.8 kB / 0.7279 GB, free: 9.312 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.5638, allocations: 54.62 kB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.5639, allocations: 20.84 kB / 0.7279 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.5639, allocations: 0 / 0.7279 GB, free: 9.227 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.5639, allocations: 42.55 kB / 0.728 GB, free: 9.176 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.564, allocations: 0 / 0.728 GB, free: 9.176 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.000178/0.5641, allocations: 57.62 kB / 0.728 GB, free: 9.113 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.5642, allocations: 55.41 kB / 0.7281 GB, free: 9.047 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.5643, allocations: 97.86 kB / 0.7282 GB, free: 8.941 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.5643, allocations: 25.7 kB / 0.7282 GB, free: 8.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.5643, allocations: 88.12 kB / 0.7283 GB, free: 8.82 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.257e-05/0.5644, allocations: 11.75 kB / 0.7283 GB, free: 8.809 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.5644, allocations: 17.72 kB / 0.7283 GB, free: 8.785 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.5645, allocations: 314.8 kB / 0.7286 GB, free: 8.469 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.404e-05/0.5646, allocations: 11.98 kB / 0.7286 GB, free: 8.457 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.5646, allocations: 21.72 kB / 0.7286 GB, free: 8.43 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.5647, allocations: 29.66 kB / 0.7287 GB, free: 8.395 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5647, allocations: 0 / 0.7287 GB, free: 8.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.987e-05/0.5648, allocations: 61.53 kB / 0.7287 GB, free: 8.328 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5648, allocations: 11.98 kB / 0.7287 GB, free: 8.316 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.5648, allocations: 3.938 kB / 0.7288 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5648, allocations: 0 / 0.7288 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.528e-05/0.5649, allocations: 12.03 kB / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5649, allocations: 0 / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.5649, allocations: 0 / 0.7288 GB, free: 8.301 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.5649, allocations: 4 kB / 0.7288 GB, free: 8.297 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.419e-05/0.565, allocations: 113.8 kB / 0.7289 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.565, allocations: 4 kB / 0.7289 GB, free: 8.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.5652, allocations: 69.03 kB / 0.7289 GB, free: 8.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.5652, allocations: 4 kB / 0.7289 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.5652, allocations: 4 kB / 0.729 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5652, allocations: 0 / 0.729 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.5654, allocations: 161.6 kB / 0.7291 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5654, allocations: 0 / 0.7291 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5654, allocations: 11.94 kB / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5654, allocations: 0 / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.211e-06/0.5654, allocations: 0 / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5655, allocations: 0 / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.5655, allocations: 0 / 0.7291 GB, free: 7.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001298/0.5656, allocations: 159.4 kB / 0.7293 GB, free: 7.695 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.5656, allocations: 81.62 kB / 0.7293 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.5657, allocations: 0 / 0.7293 GB, free: 7.598 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.5657, allocations: 4 kB / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.5657, allocations: 3.938 kB / 0.7294 GB, free: 7.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.5657, allocations: 4.125 kB / 0.7294 GB, free: 7.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.057e-05/0.5658, allocations: 83.25 kB / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.5658, allocations: 0 / 0.7294 GB, free: 7.504 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000248/0.566, allocations: 23.94 kB / 0.7295 GB, free: 7.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.000248/0.5663, allocations: 123.2 kB / 0.7296 GB, free: 7.348 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001157/0.5664, allocations: 19.98 kB / 0.7296 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5664, allocations: 0 / 0.7296 GB, free: 7.328 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.065e-05/0.5665, allocations: 11.94 kB / 0.7296 GB, free: 7.316 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.5668, allocations: 17.23 kB / 0.7296 GB, free: 7.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003172/0.5671, allocations: 118.7 kB / 0.7297 GB, free: 7.164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5674, allocations: 0.6768 MB / 0.7304 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.042e-05/0.5674, allocations: 256 / 0.7304 GB, free: 6.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.5675, allocations: 11.44 kB / 0.7304 GB, free: 6.449 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5675, allocations: 0 / 0.7304 GB, free: 6.449 MB / 0.545 GB Notification: Performance of Templates: time 0.002643/0.5701, allocations: 0.5115 MB / 0.7309 GB, free: 5.945 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)