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.001038/0.001038, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.001388/0.001388, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.387 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.537/1.537, allocations: 252 MB / 0.5102 GB, free: 4.891 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.0005241/0.0005243, allocations: 19.75 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5356, allocations: 106.3 MB / 0.7281 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001525/0.5372, allocations: 1.014 MB / 0.7291 GB, free: 10.4 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.5382, allocations: 0.5377 MB / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.272e-05/0.5382, allocations: 0 / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.5383, allocations: 0 / 0.7296 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.39e-05/0.5383, allocations: 7.984 kB / 0.7296 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004562/0.5388, allocations: 119.5 kB / 0.7298 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.5389, allocations: 23.86 kB / 0.7298 GB, free: 9.715 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.539, allocations: 7.984 kB / 0.7298 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.267e-05/0.539, allocations: 4 kB / 0.7298 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.5391, allocations: 11.92 kB / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.5391, allocations: 0 / 0.7298 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.5396, allocations: 339.3 kB / 0.7301 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-06/0.5396, allocations: 4 kB / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.5397, allocations: 29.7 kB / 0.7302 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.5398, allocations: 101.8 kB / 0.7303 GB, free: 9.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5398, allocations: 4 kB / 0.7303 GB, free: 9.219 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5399, allocations: 0 / 0.7303 GB, free: 9.219 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.5399, allocations: 0 / 0.7303 GB, free: 9.219 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.0004146/0.5403, allocations: 351.2 kB / 0.7306 GB, free: 8.828 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5403, allocations: 8.031 kB / 0.7306 GB, free: 8.82 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.045e-05/0.5404, allocations: 4 kB / 0.7306 GB, free: 8.816 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.5405, allocations: 171 kB / 0.7308 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.5405, allocations: 4 kB / 0.7308 GB, free: 8.605 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/0.5405, allocations: 4 kB / 0.7308 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.5407, allocations: 41.62 kB / 0.7308 GB, free: 8.555 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.5407, allocations: 4 kB / 0.7308 GB, free: 8.551 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5407, allocations: 3.984 kB / 0.7308 GB, free: 8.547 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.5407, allocations: 3.938 kB / 0.7308 GB, free: 8.543 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/0.5408, allocations: 12 kB / 0.7308 GB, free: 8.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003176/0.5411, allocations: 260.7 kB / 0.7311 GB, free: 8.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.5413, allocations: 50.62 kB / 0.7311 GB, free: 8.168 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.5413, allocations: 20.84 kB / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.5414, allocations: 0 / 0.7312 GB, free: 8.145 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.5414, allocations: 34.56 kB / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.5414, allocations: 0 / 0.7312 GB, free: 8.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0001925/0.5416, allocations: 61.69 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5416, allocations: 51.41 kB / 0.7313 GB, free: 7.973 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.437e-05/0.5417, allocations: 101.8 kB / 0.7314 GB, free: 7.863 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.5417, allocations: 25.7 kB / 0.7314 GB, free: 7.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.5418, allocations: 84.08 kB / 0.7315 GB, free: 7.746 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.5418, allocations: 15.75 kB / 0.7315 GB, free: 7.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-06/0.5418, allocations: 4 kB / 0.7315 GB, free: 7.727 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.542, allocations: 318.8 kB / 0.7318 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.542, allocations: 11.98 kB / 0.7318 GB, free: 7.395 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.273e-05/0.542, allocations: 21.72 kB / 0.7319 GB, free: 7.367 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.584e-05/0.5421, allocations: 8 kB / 0.7319 GB, free: 7.359 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5421, allocations: 0 / 0.7319 GB, free: 7.359 MB / 0.545 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.705e-05/0.5422, allocations: 53.62 kB / 0.7319 GB, free: 7.301 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5422, allocations: 8 kB / 0.7319 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5422, allocations: 0 / 0.7319 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.5422, allocations: 0 / 0.7319 GB, free: 7.293 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.007e-05/0.5423, allocations: 16.02 kB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.5423, allocations: 0 / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.791e-05/0.5423, allocations: 7.906 kB / 0.7319 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5424, allocations: 4 kB / 0.7319 GB, free: 7.266 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.5425, allocations: 109.8 kB / 0.7321 GB, free: 7.148 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.634e-05/0.5425, allocations: 4 kB / 0.7321 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.5427, allocations: 69.09 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.5427, allocations: 8 kB / 0.7321 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5427, allocations: 0 / 0.7321 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.5427, allocations: 480 / 0.7321 GB, free: 7.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.5429, allocations: 157.6 kB / 0.7323 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5429, allocations: 0 / 0.7323 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.743e-05/0.543, allocations: 8 kB / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.543, allocations: 0 / 0.7323 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.543, allocations: 3.938 kB / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.543, allocations: 0 / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.543, allocations: 0 / 0.7323 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/0.5432, allocations: 159.4 kB / 0.7324 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.946e-05/0.5432, allocations: 88.94 kB / 0.7325 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.328e-05/0.5432, allocations: 4 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.777e-05/0.5433, allocations: 0 / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.5433, allocations: 0 / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.5433, allocations: 0 / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.008e-05/0.5434, allocations: 79.28 kB / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5434, allocations: 0 / 0.7326 GB, free: 6.484 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002458/0.5436, allocations: 31.92 kB / 0.7326 GB, free: 6.453 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.5438, allocations: 122.3 kB / 0.7328 GB, free: 6.324 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001055/0.5439, allocations: 20 kB / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5439, allocations: 0 / 0.7328 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.433e-05/0.544, allocations: 19.92 kB / 0.7328 GB, free: 6.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.5442, allocations: 10.52 kB / 0.7328 GB, free: 6.277 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003047/0.5445, allocations: 128.7 kB / 0.7329 GB, free: 6.121 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5448, allocations: 0.6809 MB / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.193e-05/0.5448, allocations: 0 / 0.7336 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.065e-05/0.5449, allocations: 11.44 kB / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.5449, allocations: 0 / 0.7336 GB, free: 5.402 MB / 0.545 GB Notification: Performance of Templates: time 0.002622/0.5475, allocations: 494.2 kB / 0.7341 GB, free: 4.93 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: