Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.612/1.612, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009807/0.0009809, allocations: 174.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008122/0.0008119, allocations: 99.12 kB / 0.7808 GB, free: 43.56 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003962, allocations: 13.03 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6509/0.6514, allocations: 120.3 MB / 1.026 GB, free: 56.66 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.187/0.8384, allocations: 143 MB / 1.166 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.8387, allocations: 86.39 kB / 1.166 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01625/0.8549, allocations: 5.404 MB / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.184e-06/0.855, allocations: 0 / 1.171 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.855, allocations: 4 kB / 1.171 GB, free: 9.852 MB / 0.7448 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.0004395/0.8555, allocations: 363.4 kB / 1.172 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.8555, allocations: 12.02 kB / 1.172 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.8556, allocations: 4.938 kB / 1.172 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.8557, allocations: 160.4 kB / 1.172 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.8557, allocations: 384 / 1.172 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.8557, allocations: 4.375 kB / 1.172 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.8559, allocations: 38.25 kB / 1.172 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8559, allocations: 7.141 kB / 1.172 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.8559, allocations: 7.938 kB / 1.172 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.8559, allocations: 0 / 1.172 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.856, allocations: 19.92 kB / 1.172 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.8563, allocations: 260.8 kB / 1.172 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/0.8566, allocations: 46.56 kB / 1.172 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.987e-05/0.8566, allocations: 20.86 kB / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.8567, allocations: 0 / 1.172 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.8567, allocations: 34.56 kB / 1.172 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.8567, allocations: 0 / 1.172 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001914/0.8569, allocations: 57.62 kB / 1.172 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.8569, allocations: 51.41 kB / 1.172 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.699e-05/0.857, allocations: 101.8 kB / 1.172 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.528e-05/0.8571, allocations: 25.7 kB / 1.172 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.8571, allocations: 84.14 kB / 1.173 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.8571, allocations: 15.81 kB / 1.173 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-06/0.8571, allocations: 0 / 1.173 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8573, allocations: 314.8 kB / 1.173 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.8573, allocations: 11.94 kB / 1.173 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.8573, allocations: 13.72 kB / 1.173 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.8574, allocations: 37.64 kB / 1.173 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.8574, allocations: 4 kB / 1.173 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001093/0.8575, allocations: 74.81 kB / 1.173 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.8576, allocations: 4 kB / 1.173 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.8576, allocations: 0 / 1.173 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.8576, allocations: 0 / 1.173 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.394e-05/0.8576, allocations: 8 kB / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.8576, allocations: 0 / 1.173 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.8577, allocations: 4 kB / 1.173 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.8577, allocations: 0 / 1.173 GB, free: 7.875 MB / 0.7448 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 9.008e-05/0.8578, allocations: 122.3 kB / 1.173 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.8578, allocations: 4 kB / 1.173 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.858, allocations: 61.12 kB / 1.173 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.858, allocations: 0 / 1.173 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.858, allocations: 0 / 1.173 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.858, allocations: 0.7969 kB / 1.173 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.8582, allocations: 165.5 kB / 1.173 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.8582, allocations: 0 / 1.173 GB, free: 7.461 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.8582, allocations: 7.984 kB / 1.173 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.8582, allocations: 4 kB / 1.173 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.8582, allocations: 0 / 1.173 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8582, allocations: 0 / 1.173 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.8583, allocations: 4 kB / 1.173 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001412/0.8584, allocations: 147.9 kB / 1.173 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.8584, allocations: 81.11 kB / 1.174 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.8585, allocations: 0 / 1.174 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.702e-05/0.8585, allocations: 3.938 kB / 1.174 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.8585, allocations: 4.047 kB / 1.174 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.8586, allocations: 11.97 kB / 1.174 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.8586, allocations: 79.28 kB / 1.174 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8586, allocations: 0 / 1.174 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000259/0.8589, allocations: 20 kB / 1.174 GB, free: 7.07 MB / 0.7448 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.0002076/0.8591, allocations: 127.1 kB / 1.174 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.885e-05/0.8592, allocations: 23.98 kB / 1.174 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.8592, allocations: 4.062 kB / 1.174 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.8592, allocations: 19.92 kB / 1.174 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.8595, allocations: 7.938 kB / 1.174 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.8598, allocations: 129.1 kB / 1.174 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.8601, allocations: 0.6809 MB / 1.175 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.8601, allocations: 4 kB / 1.175 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.748e-05/0.8601, allocations: 11.44 kB / 1.175 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.8601, allocations: 0 / 1.175 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of Templates: time 0.002506/0.8626, allocations: 0.4895 MB / 1.175 GB, free: 5.543 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)