Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.527/1.527, allocations: 289.9 MB / 297.4 MB, free: 6.398 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001033/0.001033, allocations: 180.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.425/1.425, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008233/0.0008231, allocations: 90.61 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.715e-05/1.718e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5275/0.5275, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.16/0.6875, allocations: 138.7 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.6878, allocations: 79.94 kB / 1.109 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009843/0.6976, allocations: 3.427 MB / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6977, allocations: 0 / 1.112 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.6977, allocations: 0.5625 kB / 1.112 GB, free: 7.992 MB / 0.7136 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.0003062/0.698, allocations: 339.5 kB / 1.112 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.6981, allocations: 8.031 kB / 1.113 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.6981, allocations: 1.469 kB / 1.113 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.6983, allocations: 171 kB / 1.113 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6983, allocations: 0 / 1.113 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-06/0.6983, allocations: 0 / 1.113 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.618e-05/0.6984, allocations: 11.17 kB / 1.113 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.996e-05/0.6984, allocations: 25.7 kB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.6984, allocations: 4 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-06/0.6984, allocations: 0 / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.6985, allocations: 1.781 kB / 1.113 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001411/0.6986, allocations: 130.2 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.524e-05/0.6987, allocations: 32.19 kB / 1.113 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.554e-05/0.6987, allocations: 4.859 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.6987, allocations: 0 / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6987, allocations: 41.34 kB / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6987, allocations: 0 / 1.113 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001189/0.6989, allocations: 29.7 kB / 1.113 GB, free: 7.066 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/0.6989, allocations: 51.41 kB / 1.113 GB, free: 7.004 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.696e-05/0.699, allocations: 93.81 kB / 1.113 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.699, allocations: 25.7 kB / 1.113 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.699, allocations: 84.91 kB / 1.113 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.162e-05/0.6991, allocations: 11.84 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.355e-06/0.6991, allocations: 0.7188 kB / 1.113 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.6992, allocations: 316.8 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.6992, allocations: 0 / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.925e-06/0.6992, allocations: 4 kB / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.295e-05/0.6992, allocations: 0 / 1.113 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.6992, allocations: 3.688 kB / 1.114 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.502e-05/0.6993, allocations: 56.27 kB / 1.114 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.6993, allocations: 4 kB / 1.114 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.6993, allocations: 4 kB / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.6993, allocations: 0 / 1.114 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.6995, allocations: 8 kB / 1.114 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003612/0.6998, allocations: 0.5898 MB / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.6999, allocations: 352 / 1.114 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.6999, allocations: 4 kB / 1.114 GB, free: 5.773 MB / 0.7136 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 () * 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 6.905e-05/0.7, allocations: 109 kB / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.7, allocations: 0 / 1.114 GB, free: 5.66 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.7001, allocations: 45.44 kB / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7001, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7001, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.7001, allocations: 0 / 1.114 GB, free: 5.605 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.125e-05/0.7002, allocations: 130.2 kB / 1.114 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.7002, allocations: 4.031 kB / 1.114 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.806e-05/0.7003, allocations: 11.98 kB / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.7003, allocations: 0 / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.7003, allocations: 0 / 1.114 GB, free: 5.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002982/0.7006, allocations: 0.5859 MB / 1.115 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7006, allocations: 4.031 kB / 1.115 GB, free: 4.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.49e-05/0.7007, allocations: 69.17 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.028e-05/0.7007, allocations: 77.11 kB / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.7008, allocations: 0 / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.345e-05/0.7008, allocations: 0 / 1.115 GB, free: 4.633 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.7008, allocations: 3.984 kB / 1.115 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-06/0.7008, allocations: 7.938 kB / 1.115 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.878e-05/0.7008, allocations: 79.27 kB / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7008, allocations: 0 / 1.115 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001923/0.701, allocations: 20.06 kB / 1.115 GB, free: 4.523 MB / 0.7136 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 () * 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.0001612/0.7012, allocations: 116.4 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.7014, allocations: 13.69 kB / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7014, allocations: 0 / 1.115 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.7014, allocations: 15.98 kB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.268e-05/0.7015, allocations: 3.953 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001497/0.7017, allocations: 56.86 kB / 1.115 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.702, allocations: 0.6767 MB / 1.116 GB, free: 3.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.629e-05/0.702, allocations: 4 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.318e-05/0.702, allocations: 7.438 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.702, allocations: 0 / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of Templates: time 0.002025/0.704, allocations: 408.4 kB / 1.117 GB, free: 3.211 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)