Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6947/0.6947, allocations: 117.9 MB / 133.9 MB, free: 9.227 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001059/0.001059, allocations: 184.5 kB / 161.7 MB, free: 13.97 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.424/1.424, allocations: 205.4 MB / 394.8 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008193/0.0008193, allocations: 86.98 kB / 470.1 MB, free: 29.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003786, allocations: 12 kB / 0.5423 GB, free: 9.754 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 74.54 MB / 0.6151 GB, free: 15.16 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.5498, allocations: 103.3 MB / 0.716 GB, free: 30.43 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5501, allocations: 83.55 kB / 0.7161 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01648/0.5666, allocations: 5.75 MB / 0.7217 GB, free: 27 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5667, allocations: 4 kB / 0.7217 GB, free: 27 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.5667, allocations: 0 / 0.7217 GB, free: 27 MB / 0.4948 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.0003502/0.5671, allocations: 359.8 kB / 0.722 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5671, allocations: 12.53 kB / 0.722 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.36e-05/0.5671, allocations: 7.844 kB / 0.722 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.5672, allocations: 169.5 kB / 0.7222 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.5673, allocations: 384 / 0.7222 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.5673, allocations: 4.938 kB / 0.7222 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.5683, allocations: 166.4 kB / 0.7224 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.5683, allocations: 3.281 kB / 0.7224 GB, free: 26.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.5684, allocations: 8.516 kB / 0.7224 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.5684, allocations: 8 kB / 0.7224 GB, free: 26.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.5692, allocations: 135.5 kB / 0.7225 GB, free: 26.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.5695, allocations: 257 kB / 0.7228 GB, free: 25.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009894/0.5705, allocations: 178.5 kB / 0.7229 GB, free: 25.76 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.5706, allocations: 18.56 kB / 0.7229 GB, free: 25.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002959/0.5709, allocations: 188.1 kB / 0.7231 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.5709, allocations: 34.56 kB / 0.7232 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.5709, allocations: 0 / 0.7232 GB, free: 25.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4): time 0.00179/0.5727, allocations: 311.5 kB / 0.7235 GB, free: 25.28 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5728, allocations: 60.06 kB / 0.7235 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.907e-05/0.5728, allocations: 95.81 kB / 0.7236 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.5728, allocations: 29.7 kB / 0.7236 GB, free: 25.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.838e-05/0.5729, allocations: 87.8 kB / 0.7237 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.5729, allocations: 9.125 kB / 0.7237 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-06/0.5729, allocations: 0 / 0.7237 GB, free: 24.98 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.573, allocations: 320.3 kB / 0.724 GB, free: 24.66 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001731/0.5731, allocations: 36.16 kB / 0.7241 GB, free: 24.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.5733, allocations: 50.59 kB / 0.7241 GB, free: 24.59 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.5737, allocations: 91.55 kB / 0.7242 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5737, allocations: 0 / 0.7242 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003913/0.5741, allocations: 119.8 kB / 0.7243 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.5741, allocations: 7.375 kB / 0.7243 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.5741, allocations: 32 / 0.7243 GB, free: 24.43 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.5741, allocations: 4.703 kB / 0.7243 GB, free: 24.42 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.5743, allocations: 30.27 kB / 0.7244 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.5743, allocations: 0.7031 kB / 0.7244 GB, free: 24.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.5745, allocations: 20.25 kB / 0.7244 GB, free: 24.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5745, allocations: 4.656 kB / 0.7244 GB, free: 24.38 MB / 0.4948 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 6.085e-05/0.5746, allocations: 117.5 kB / 0.7245 GB, free: 24.26 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.5746, allocations: 4.594 kB / 0.7245 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.5746, allocations: 7.062 kB / 0.7245 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5747, allocations: 3.938 kB / 0.7245 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5747, allocations: 0.7031 kB / 0.7245 GB, free: 24.25 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5747, allocations: 4 kB / 0.7245 GB, free: 24.24 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.5748, allocations: 175.7 kB / 0.7247 GB, free: 24.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.5748, allocations: 4 kB / 0.7247 GB, free: 24.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.575, allocations: 22.84 kB / 0.7247 GB, free: 24.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.575, allocations: 4 kB / 0.7247 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.575, allocations: 0.6562 kB / 0.7247 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.575, allocations: 0.6562 kB / 0.7247 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5751, allocations: 0 / 0.7247 GB, free: 24.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.5755, allocations: 214.2 kB / 0.7249 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.059e-05/0.5755, allocations: 78.28 kB / 0.725 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.5755, allocations: 3.938 kB / 0.725 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5757, allocations: 16.78 kB / 0.725 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.127e-05/0.5757, allocations: 1.594 kB / 0.725 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.636e-06/0.5757, allocations: 5.641 kB / 0.725 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.046e-05/0.5758, allocations: 75.28 kB / 0.7251 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5758, allocations: 4 kB / 0.7251 GB, free: 23.63 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002501/0.576, allocations: 16.84 kB / 0.7251 GB, free: 23.61 MB / 0.4948 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.0001248/0.5762, allocations: 108.1 kB / 0.7252 GB, free: 23.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004011/0.5766, allocations: 86.2 kB / 0.7253 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.5766, allocations: 0 / 0.7253 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.5768, allocations: 41.75 kB / 0.7253 GB, free: 23.42 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.577, allocations: 12.27 kB / 0.7253 GB, free: 23.41 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.5775, allocations: 184 kB / 0.7255 GB, free: 23.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.5777, allocations: 0.6795 MB / 0.7262 GB, free: 22.54 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001/0.5778, allocations: 12.55 kB / 0.7262 GB, free: 22.53 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.5778, allocations: 9.219 kB / 0.7262 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of SimCode: time 3.41e-07/0.5778, allocations: 0 / 0.7262 GB, free: 22.52 MB / 0.4948 GB Notification: Performance of Templates: time 0.002264/0.5801, allocations: 0.5298 MB / 0.7267 GB, free: 22.24 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)