Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002579/0.002584, allocations: 357.8 kB / 16.58 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.415/1.415, allocations: 165.8 MB / 183.1 MB, free: 5.484 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.785/3.785, allocations: 410.8 MB / 0.6001 GB, free: 15.15 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001742/0.001742, allocations: 190.6 kB / 0.6668 GB, free: 6.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004854, allocations: 16 kB / 0.7429 GB, free: 8.961 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4121/0.4127, allocations: 67.44 MB / 0.8087 GB, free: 28.78 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.5782, allocations: 99.98 MB / 0.9064 GB, free: 8.664 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.5785, allocations: 79.95 kB / 0.9064 GB, free: 8.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02717/0.6057, allocations: 5.317 MB / 0.9116 GB, free: 3.266 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.518e-06/0.6058, allocations: 4 kB / 0.9116 GB, free: 3.262 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.6058, allocations: 0 / 0.9116 GB, free: 3.262 MB / 458.7 MB 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.0004449/0.6062, allocations: 367.2 kB / 0.912 GB, free: 2.855 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.6063, allocations: 12.03 kB / 0.912 GB, free: 2.844 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.6063, allocations: 3.906 kB / 0.912 GB, free: 2.84 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6065, allocations: 159.1 kB / 0.9122 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.6065, allocations: 4 kB / 0.9122 GB, free: 2.641 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.6065, allocations: 3.984 kB / 0.9122 GB, free: 2.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6067, allocations: 45.66 kB / 0.9122 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6067, allocations: 0 / 0.9122 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.6067, allocations: 3.938 kB / 0.9122 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.6067, allocations: 7.984 kB / 0.9122 GB, free: 2.574 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.78e-05/0.6068, allocations: 19.92 kB / 0.9122 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.6072, allocations: 252.9 kB / 0.9125 GB, free: 2.258 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.6075, allocations: 46.62 kB / 0.9125 GB, free: 2.203 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.739e-05/0.6075, allocations: 20.84 kB / 0.9125 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.6076, allocations: 0 / 0.9125 GB, free: 2.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.6076, allocations: 42.5 kB / 0.9126 GB, free: 2.129 MB / 458.7 MB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.6076, allocations: 0 / 0.9126 GB, free: 2.129 MB / 458.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002085/0.6079, allocations: 53.69 kB / 0.9126 GB, free: 2.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.6079, allocations: 51.41 kB / 0.9127 GB, free: 2.008 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.608, allocations: 97.84 kB / 0.9128 GB, free: 1.902 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.608, allocations: 25.7 kB / 0.9128 GB, free: 1.871 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.584e-05/0.6081, allocations: 92.05 kB / 0.9129 GB, free: 1.777 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.621e-05/0.6081, allocations: 7.812 kB / 0.9129 GB, free: 1.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.6081, allocations: 4 kB / 0.9129 GB, free: 1.766 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6083, allocations: 314.8 kB / 0.9132 GB, free: 1.449 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.6083, allocations: 11.98 kB / 0.9132 GB, free: 1.438 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.475e-05/0.6084, allocations: 17.72 kB / 0.9132 GB, free: 1.414 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.6084, allocations: 11.94 kB / 0.9132 GB, free: 1.402 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.6084, allocations: 0 / 0.9132 GB, free: 1.402 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001358/0.6086, allocations: 61.58 kB / 0.9133 GB, free: 1.336 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6086, allocations: 10.69 kB / 0.9133 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.6086, allocations: 0 / 0.9133 GB, free: 1.328 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.6086, allocations: 4.125 kB / 0.9133 GB, free: 1.324 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.058e-05/0.6087, allocations: 15.92 kB / 0.9133 GB, free: 1.309 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.6088, allocations: 4 kB / 0.9133 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.49e-05/0.6088, allocations: 0 / 0.9133 GB, free: 1.305 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.6088, allocations: 0 / 0.9133 GB, free: 1.305 MB / 458.7 MB 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.206e-05/0.6089, allocations: 114.5 kB / 0.9134 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.609, allocations: 3.953 kB / 0.9134 GB, free: 1.18 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.6092, allocations: 73.06 kB / 0.9135 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.6092, allocations: 0 / 0.9135 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6092, allocations: 0 / 0.9135 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.6092, allocations: 0 / 0.9135 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.6094, allocations: 166.1 kB / 0.9137 GB, free: 0.8906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.6094, allocations: 3.938 kB / 0.9137 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.95e-05/0.6095, allocations: 4 kB / 0.9137 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6095, allocations: 3.953 kB / 0.9137 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6095, allocations: 0 / 0.9137 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.6096, allocations: 8 kB / 0.9137 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6096, allocations: 0 / 0.9137 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.6097, allocations: 151.5 kB / 0.9138 GB, free: 0.707 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.6098, allocations: 77.11 kB / 0.9139 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.6098, allocations: 11.94 kB / 0.9139 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.518e-05/0.6099, allocations: 0 / 0.9139 GB, free: 0.6016 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.6099, allocations: 4 kB / 0.9139 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.61, allocations: 0 / 0.9139 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.645e-05/0.61, allocations: 83.28 kB / 0.914 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.61, allocations: 0 / 0.914 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003332/0.6104, allocations: 20 kB / 0.914 GB, free: 0.4961 MB / 458.7 MB 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.0002298/0.6106, allocations: 135 kB / 0.9142 GB, free: 364 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.6107, allocations: 23.98 kB / 0.9142 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6108, allocations: 0 / 0.9142 GB, free: 340 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.627e-05/0.6108, allocations: 11.94 kB / 0.9142 GB, free: 328 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.6111, allocations: 4.062 kB / 0.9142 GB, free: 324 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.6114, allocations: 136.5 kB / 0.9143 GB, free: 160 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.6118, allocations: 0.677 MB / 0.915 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.389e-05/0.6118, allocations: 7.984 kB / 0.915 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.627e-05/0.6119, allocations: 11.44 kB / 0.915 GB, free: 15.43 MB / 474.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6119, allocations: 0 / 0.915 GB, free: 15.43 MB / 474.7 MB Notification: Performance of Templates: time 0.003138/0.615, allocations: 488 kB / 0.9155 GB, free: 14.96 MB / 474.7 MB