Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [/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.7059/0.7059, allocations: 117.9 MB / 133.9 MB, free: 4.496 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.001016/0.001016, allocations: 183.3 kB / 161.7 MB, free: 2.723 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.464/1.464, allocations: 205.4 MB / 394.8 MB, free: 20.93 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.0007487/0.0007488, allocations: 97.28 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005801/0.0005802, allocations: 12 kB / 0.5423 GB, free: 6.828 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3179, allocations: 74.53 MB / 0.6151 GB, free: 54.08 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.4385, allocations: 101.9 MB / 0.7147 GB, free: 0 / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/0.4388, allocations: 84 kB / 0.7148 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.006734/0.4455, allocations: 2.413 MB / 0.7171 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4456, allocations: 4 kB / 0.7171 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.4456, allocations: 0 / 0.7171 GB, free: 13.5 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.000277/0.4458, allocations: 339.5 kB / 0.7174 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.4459, allocations: 8.031 kB / 0.7174 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.4459, allocations: 8.844 kB / 0.7175 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.446, allocations: 168.4 kB / 0.7176 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.4461, allocations: 384 / 0.7176 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.963e-06/0.4461, allocations: 384 / 0.7176 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004262/0.4465, allocations: 78.16 kB / 0.7177 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.4465, allocations: 192 / 0.7177 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.4465, allocations: 3.938 kB / 0.7177 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-06/0.4466, allocations: 0 / 0.7177 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003192/0.4469, allocations: 47.94 kB / 0.7177 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.447, allocations: 153.7 kB / 0.7179 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.4474, allocations: 62.56 kB / 0.7179 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.077e-05/0.4474, allocations: 12.67 kB / 0.718 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.4476, allocations: 93.09 kB / 0.718 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.4477, allocations: 42.48 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4477, allocations: 3.938 kB / 0.7181 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0007155/0.4484, allocations: 129.6 kB / 0.7182 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.4485, allocations: 51.41 kB / 0.7183 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.465e-05/0.4485, allocations: 93.86 kB / 0.7184 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.4485, allocations: 25.7 kB / 0.7184 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.4486, allocations: 84.3 kB / 0.7185 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.4486, allocations: 3.906 kB / 0.7185 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.4486, allocations: 0 / 0.7185 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.4487, allocations: 318.8 kB / 0.7188 GB, free: 11.58 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.4488, allocations: 8 kB / 0.7188 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.4489, allocations: 23.98 kB / 0.7188 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.4491, allocations: 32.78 kB / 0.7188 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4491, allocations: 3.984 kB / 0.7188 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001758/0.4492, allocations: 57.75 kB / 0.7189 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4493, allocations: 10.03 kB / 0.7189 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4493, allocations: 3.938 kB / 0.7189 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4493, allocations: 3.984 kB / 0.7189 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.4504, allocations: 131.9 kB / 0.719 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002722/0.4531, allocations: 1.493 MB / 0.7205 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.4532, allocations: 8.016 kB / 0.7205 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.4532, allocations: 4 kB / 0.7205 GB, free: 9.668 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 7.187e-05/0.4533, allocations: 109.8 kB / 0.7206 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.845e-06/0.4533, allocations: 0 / 0.7206 GB, free: 9.551 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.4534, allocations: 15.11 kB / 0.7206 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4534, allocations: 0 / 0.7206 GB, free: 9.535 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.4534, allocations: 4.062 kB / 0.7206 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4534, allocations: 4 kB / 0.7206 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4535, allocations: 157.6 kB / 0.7208 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4535, allocations: 0 / 0.7208 GB, free: 9.324 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.4546, allocations: 143.8 kB / 0.7209 GB, free: 9.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.167e-06/0.4546, allocations: 3.984 kB / 0.7209 GB, free: 9.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4546, allocations: 3.984 kB / 0.7209 GB, free: 9.176 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.4572, allocations: 1.501 MB / 0.7224 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4572, allocations: 0 / 0.7224 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001919/0.4574, allocations: 89 kB / 0.7225 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.4575, allocations: 85.14 kB / 0.7226 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.374e-06/0.4575, allocations: 4 kB / 0.7226 GB, free: 7.336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.4576, allocations: 4 kB / 0.7226 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.4576, allocations: 3.984 kB / 0.7226 GB, free: 7.328 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.571e-06/0.4576, allocations: 4 kB / 0.7226 GB, free: 7.324 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.574e-05/0.4577, allocations: 79.28 kB / 0.7226 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4577, allocations: 0 / 0.7226 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001977/0.4579, allocations: 15.88 kB / 0.7227 GB, free: 7.23 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.0001436/0.458, allocations: 107.1 kB / 0.7228 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001261/0.4593, allocations: 167.8 kB / 0.7229 GB, free: 6.953 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4593, allocations: 4.062 kB / 0.7229 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00119/0.4605, allocations: 167.8 kB / 0.7231 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.4607, allocations: 1.578 kB / 0.7231 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.462, allocations: 271 kB / 0.7233 GB, free: 6.492 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.4622, allocations: 0.6731 MB / 0.724 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.778e-05/0.4622, allocations: 0 / 0.724 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.781e-05/0.4623, allocations: 7.438 kB / 0.724 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of SimCode: time 3.31e-07/0.4623, allocations: 0 / 0.724 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of Templates: time 0.002164/0.4644, allocations: 465.6 kB / 0.7245 GB, free: 5.363 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)