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.001259/0.001259, allocations: 105.9 kB / 16.41 MB, free: 6.492 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.001238/0.001238, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.387/1.387, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 298.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.005/1.005, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002781/0.002781, allocations: 99.84 kB / 0.6821 GB, free: 6.906 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4602, allocations: 86.97 MB / 0.7671 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002248/0.4624, allocations: 1.253 MB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.4634, allocations: 0.5817 MB / 0.7688 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.4634, allocations: 0 / 0.7688 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.4635, allocations: 4 kB / 0.7688 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.593e-05/0.4635, allocations: 7.984 kB / 0.7689 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000483/0.464, allocations: 134.3 kB / 0.769 GB, free: 1.875 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.122e-05/0.464, allocations: 23.86 kB / 0.769 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.924e-05/0.4641, allocations: 0 / 0.769 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.4641, allocations: 4 kB / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.049e-05/0.4641, allocations: 0 / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.4641, allocations: 0 / 0.769 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.4647, allocations: 351.3 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.025e-06/0.4647, allocations: 0 / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.009e-05/0.4647, allocations: 3.938 kB / 0.7693 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002493/0.4649, allocations: 149.2 kB / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4649, allocations: 0 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4649, allocations: 0 / 0.7695 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4649, allocations: 4 kB / 0.7695 GB, free: 1.359 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.0004154/0.4654, allocations: 359.1 kB / 0.7698 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.4654, allocations: 8.031 kB / 0.7698 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.529e-05/0.4654, allocations: 0.9375 kB / 0.7698 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.4656, allocations: 168.3 kB / 0.77 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4656, allocations: 4.375 kB / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.4656, allocations: 384 / 0.77 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.249e-05/0.4657, allocations: 34.25 kB / 0.77 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4657, allocations: 4.125 kB / 0.77 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.4657, allocations: 7.875 kB / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.4657, allocations: 0 / 0.7701 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.575e-05/0.4657, allocations: 8 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.4659, allocations: 145.7 kB / 0.7702 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.634e-05/0.466, allocations: 30.59 kB / 0.7702 GB, free: 464 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.822e-05/0.466, allocations: 8.844 kB / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.466, allocations: 0 / 0.7702 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.466, allocations: 34.62 kB / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 7.32e-07/0.466, allocations: 0 / 0.7703 GB, free: 408 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0001355/0.4662, allocations: 45.58 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/0.4662, allocations: 59.52 kB / 0.7704 GB, free: 284 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.4663, allocations: 93.86 kB / 0.7705 GB, free: 180 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.4663, allocations: 29.7 kB / 0.7705 GB, free: 144 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.702e-05/0.4663, allocations: 80.14 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4664, allocations: 3.953 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.4664, allocations: 13.72 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4666, allocations: 318.8 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.345e-05/0.4666, allocations: 8.125 kB / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.464e-06/0.4666, allocations: 0 / 0.7709 GB, free: 15.71 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.4666, allocations: 12.8 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.4666, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.587e-05/0.4667, allocations: 41.7 kB / 0.7709 GB, free: 15.64 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.4667, allocations: 7.938 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4667, allocations: 3.938 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4667, allocations: 0 / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4669, allocations: 11.98 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00044/0.4673, allocations: 0.5899 MB / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.4673, allocations: 0 / 0.7715 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4673, allocations: 4.031 kB / 0.7716 GB, free: 15 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 9.193e-05/0.4674, allocations: 117.8 kB / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.204e-06/0.4674, allocations: 0 / 0.7717 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.4675, allocations: 44.92 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.4675, allocations: 0 / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.4675, allocations: 4 kB / 0.7717 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4675, allocations: 3.984 kB / 0.7717 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.4677, allocations: 145.6 kB / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.4677, allocations: 0 / 0.7719 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.159e-05/0.4677, allocations: 19.92 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4677, allocations: 0 / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.4677, allocations: 4 kB / 0.7719 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003753/0.4681, allocations: 0.586 MB / 0.7724 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4681, allocations: 3.938 kB / 0.7725 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.795e-05/0.4682, allocations: 65.11 kB / 0.7725 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.412e-05/0.4682, allocations: 81.11 kB / 0.7726 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.4683, allocations: 4 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.414e-05/0.4683, allocations: 4.125 kB / 0.7726 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.4683, allocations: 7.875 kB / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.4683, allocations: 0 / 0.7726 GB, free: 13.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.327e-05/0.4683, allocations: 83.27 kB / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4683, allocations: 0 / 0.7727 GB, free: 13.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001947/0.4685, allocations: 7.938 kB / 0.7727 GB, free: 13.71 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.0001632/0.4687, allocations: 111.2 kB / 0.7728 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001592/0.4689, allocations: 28.08 kB / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4689, allocations: 0 / 0.7728 GB, free: 13.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.426e-05/0.469, allocations: 8 kB / 0.7728 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.4691, allocations: 7.938 kB / 0.7728 GB, free: 13.55 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002964/0.4694, allocations: 98.09 kB / 0.7729 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003126/0.4697, allocations: 0.6805 MB / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.4697, allocations: 4.125 kB / 0.7736 GB, free: 12.71 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.26e-05/0.4697, allocations: 7.438 kB / 0.7736 GB, free: 12.7 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.4697, allocations: 0 / 0.7736 GB, free: 12.7 MB / 0.545 GB Notification: Performance of Templates: time 0.002732/0.4725, allocations: 453.7 kB / 0.774 GB, free: 12.29 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)