Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 106.8 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 291.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 99.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4414, allocations: 86.97 MB / 0.767 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002313/0.4438, allocations: 1.245 MB / 0.7683 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009738/0.4448, allocations: 0.5894 MB / 0.7688 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.4448, allocations: 4 kB / 0.7688 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.126e-05/0.4448, allocations: 7.922 kB / 0.7688 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.4449, allocations: 0 / 0.7688 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.4455, allocations: 139.4 kB / 0.769 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.07e-05/0.4455, allocations: 11.88 kB / 0.769 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.587e-05/0.4456, allocations: 0 / 0.769 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.4456, allocations: 8 kB / 0.769 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.4457, allocations: 4 kB / 0.769 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.4457, allocations: 4 kB / 0.769 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004872/0.4462, allocations: 343.3 kB / 0.7693 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.4462, allocations: 0 / 0.7693 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.4462, allocations: 11.92 kB / 0.7693 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.4465, allocations: 135.6 kB / 0.7695 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4465, allocations: 0 / 0.7695 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4465, allocations: 0 / 0.7695 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.4465, allocations: 0 / 0.7695 GB, free: 1.559 MB / 0.5294 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.0004516/0.447, allocations: 354 kB / 0.7698 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.447, allocations: 11.97 kB / 0.7698 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.622e-05/0.4471, allocations: 4.938 kB / 0.7698 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.4472, allocations: 168.3 kB / 0.77 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.4472, allocations: 384 / 0.77 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-06/0.4472, allocations: 384 / 0.77 GB, free: 0.9453 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.916e-05/0.4473, allocations: 38.25 kB / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.4473, allocations: 192 / 0.77 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4474, allocations: 3.938 kB / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.4474, allocations: 0 / 0.77 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.624e-05/0.4474, allocations: 4 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00015/0.4476, allocations: 157.7 kB / 0.7702 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.4476, allocations: 26.52 kB / 0.7702 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.4476, allocations: 8.922 kB / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.982e-05/0.4477, allocations: 0 / 0.7702 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.4477, allocations: 30.56 kB / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.4477, allocations: 0 / 0.7702 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001329/0.4478, allocations: 49.62 kB / 0.7703 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.441e-05/0.4479, allocations: 59.34 kB / 0.7703 GB, free: 492 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.4479, allocations: 89.86 kB / 0.7704 GB, free: 392 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.448, allocations: 25.7 kB / 0.7705 GB, free: 360 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.448, allocations: 88.14 kB / 0.7705 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.448, allocations: 7.844 kB / 0.7705 GB, free: 260 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.4481, allocations: 9.719 kB / 0.7706 GB, free: 244 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.4482, allocations: 323.1 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.4482, allocations: 3.938 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.021e-05/0.4482, allocations: 8 kB / 0.7709 GB, free: 15.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.761e-05/0.4482, allocations: 8.859 kB / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4482, allocations: 0 / 0.7709 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.004e-05/0.4483, allocations: 45.62 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.4483, allocations: 4 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.4483, allocations: 7.938 kB / 0.7709 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4484, allocations: 4.031 kB / 0.7709 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4485, allocations: 12 kB / 0.771 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003443/0.4489, allocations: 0.5782 MB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.4489, allocations: 3.984 kB / 0.7715 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.209e-06/0.4489, allocations: 0 / 0.7715 GB, free: 15.21 MB / 0.545 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.449, allocations: 112.2 kB / 0.7716 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.444e-06/0.449, allocations: 8.094 kB / 0.7716 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001026/0.4491, allocations: 52.73 kB / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4491, allocations: 0 / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.4491, allocations: 0 / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4491, allocations: 0 / 0.7717 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.684e-05/0.4492, allocations: 161.5 kB / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4492, allocations: 0 / 0.7718 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.46e-05/0.4493, allocations: 11.98 kB / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4493, allocations: 0 / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-06/0.4493, allocations: 0 / 0.7719 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002694/0.4496, allocations: 0.5822 MB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.4496, allocations: 3.938 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.52e-05/0.4497, allocations: 69.09 kB / 0.7725 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.538e-05/0.4497, allocations: 77.11 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.959e-06/0.4497, allocations: 4.125 kB / 0.7726 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.518e-05/0.4498, allocations: 4 kB / 0.7726 GB, free: 14.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.4498, allocations: 15.92 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.4498, allocations: 0 / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 2.768e-05/0.4498, allocations: 75.28 kB / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4498, allocations: 0 / 0.7727 GB, free: 13.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001875/0.45, allocations: 8 kB / 0.7727 GB, free: 13.91 MB / 0.545 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001622/0.4502, allocations: 118.5 kB / 0.7728 GB, free: 13.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001567/0.4503, allocations: 23.92 kB / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4504, allocations: 0 / 0.7728 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/0.4505, allocations: 19.92 kB / 0.7728 GB, free: 13.75 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.4506, allocations: 4.875 kB / 0.7728 GB, free: 13.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.4509, allocations: 127.7 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.4511, allocations: 0.6846 MB / 0.7736 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.551e-05/0.4512, allocations: 7.438 kB / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.4512, allocations: 0 / 0.7736 GB, free: 12.86 MB / 0.545 GB Notification: Performance of Templates: time 0.002045/0.4532, allocations: 0.7038 MB / 0.7743 GB, free: 12.16 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)