Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") [/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.6136/0.6136, allocations: 117.9 MB / 133.9 MB, free: 4.535 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.00101/0.00101, allocations: 178.8 kB / 161.7 MB, free: 2.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 394.8 MB, free: 21.15 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.0007627/0.0007627, allocations: 97.09 kB / 470.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 12 kB / 0.5423 GB, free: 7.102 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3163, allocations: 74.54 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4376, allocations: 102 MB / 0.7148 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.438, allocations: 87.92 kB / 0.7149 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0106/0.4486, allocations: 3.723 MB / 0.7185 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4486, allocations: 0 / 0.7185 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.4487, allocations: 0 / 0.7185 GB, free: 12.16 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003722/0.449, allocations: 339.5 kB / 0.7188 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.4491, allocations: 8.031 kB / 0.7188 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.4491, allocations: 4.875 kB / 0.7188 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.4493, allocations: 168.3 kB / 0.719 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4493, allocations: 384 / 0.719 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.181e-05/0.4493, allocations: 4.375 kB / 0.719 GB, free: 11.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.45, allocations: 122.1 kB / 0.7191 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.45, allocations: 192 / 0.7191 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.45, allocations: 3.938 kB / 0.7191 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4501, allocations: 3.984 kB / 0.7191 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/0.4506, allocations: 91.89 kB / 0.7192 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.4508, allocations: 161.6 kB / 0.7194 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005522/0.4513, allocations: 110.4 kB / 0.7195 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.197e-05/0.4514, allocations: 12.67 kB / 0.7195 GB, free: 11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001945/0.4516, allocations: 93.09 kB / 0.7196 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.4516, allocations: 46.48 kB / 0.7196 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.492e-06/0.4516, allocations: 0 / 0.7196 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.001161/0.4528, allocations: 209.5 kB / 0.7198 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.4528, allocations: 55.34 kB / 0.7199 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.293e-05/0.4529, allocations: 105.9 kB / 0.72 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.4529, allocations: 25.7 kB / 0.72 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.649e-05/0.4529, allocations: 80.14 kB / 0.7201 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.453, allocations: 3.906 kB / 0.7201 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/0.453, allocations: 0 / 0.7201 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4531, allocations: 314.8 kB / 0.7204 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/0.4532, allocations: 28.09 kB / 0.7204 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-05/0.4533, allocations: 15.98 kB / 0.7204 GB, free: 9.969 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.4535, allocations: 48.89 kB / 0.7205 GB, free: 9.918 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4536, allocations: 4 kB / 0.7205 GB, free: 9.914 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000247/0.4538, allocations: 77.66 kB / 0.7206 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.4538, allocations: 7.938 kB / 0.7206 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4538, allocations: 3.938 kB / 0.7206 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.4539, allocations: 0 / 0.7206 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.4551, allocations: 207.8 kB / 0.7208 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003527/0.4587, allocations: 1.661 MB / 0.7224 GB, free: 7.824 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.4588, allocations: 8.031 kB / 0.7224 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.4588, allocations: 4.078 kB / 0.7224 GB, free: 7.812 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.754e-05/0.4589, allocations: 121.7 kB / 0.7225 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.089e-05/0.4589, allocations: 0 / 0.7225 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.002e-05/0.459, allocations: 7.125 kB / 0.7225 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.459, allocations: 0 / 0.7225 GB, free: 7.676 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.459, allocations: 4 kB / 0.7225 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.459, allocations: 0 / 0.7225 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.4591, allocations: 157.6 kB / 0.7227 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.4591, allocations: 4 kB / 0.7227 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/0.4604, allocations: 215.8 kB / 0.7229 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.4604, allocations: 3.938 kB / 0.7229 GB, free: 7.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.4604, allocations: 4 kB / 0.7229 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003255/0.4637, allocations: 1.672 MB / 0.7245 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4637, allocations: 0 / 0.7245 GB, free: 5.445 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.464, allocations: 113 kB / 0.7246 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.464, allocations: 77.11 kB / 0.7247 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.587e-06/0.464, allocations: 0 / 0.7247 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.4641, allocations: 11.98 kB / 0.7247 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.4642, allocations: 0 / 0.7247 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.4642, allocations: 3.984 kB / 0.7247 GB, free: 5.207 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.781e-05/0.4642, allocations: 83.31 kB / 0.7248 GB, free: 5.125 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4642, allocations: 3.938 kB / 0.7248 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002224/0.4645, allocations: 15.94 kB / 0.7248 GB, free: 5.105 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001384/0.4646, allocations: 110.9 kB / 0.7249 GB, free: 4.988 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001474/0.4661, allocations: 259.8 kB / 0.7252 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.4661, allocations: 4.062 kB / 0.7252 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.4675, allocations: 243.7 kB / 0.7254 GB, free: 4.492 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.4677, allocations: 16 kB / 0.7254 GB, free: 4.477 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.4695, allocations: 368 kB / 0.7258 GB, free: 4.09 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.4697, allocations: 0.6731 MB / 0.7264 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.266e-05/0.4697, allocations: 4 kB / 0.7264 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.41e-05/0.4698, allocations: 11.38 kB / 0.7264 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.4698, allocations: 0 / 0.7264 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of Templates: time 0.002413/0.4722, allocations: 0.5155 MB / 0.7269 GB, free: 2.891 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)