Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.621/1.621, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009532/0.0009532, allocations: 188.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007964/0.0007964, allocations: 94.17 kB / 0.7808 GB, free: 43.79 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.0004584, allocations: 12 kB / 0.9088 GB, free: 0.6758 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6696/0.67, allocations: 120.3 MB / 1.026 GB, free: 57.28 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1941/0.8642, allocations: 141.8 MB / 1.165 GB, free: 452 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.8645, allocations: 77.12 kB / 1.165 GB, free: 376 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01035/0.8749, allocations: 3.497 MB / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8749, allocations: 0 / 1.168 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.254e-06/0.8749, allocations: 0 / 1.168 GB, free: 12.93 MB / 0.7448 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.0003701/0.8753, allocations: 340.2 kB / 1.169 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.8754, allocations: 12.03 kB / 1.169 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.8754, allocations: 5.906 kB / 1.169 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.8755, allocations: 160.4 kB / 1.169 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.8756, allocations: 4.375 kB / 1.169 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.8756, allocations: 8.359 kB / 1.169 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.638e-05/0.8757, allocations: 30.2 kB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.8757, allocations: 3.141 kB / 1.169 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.8757, allocations: 7.938 kB / 1.169 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.8757, allocations: 0 / 1.169 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.744e-05/0.8758, allocations: 4 kB / 1.169 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001842/0.876, allocations: 149.7 kB / 1.169 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.024e-05/0.876, allocations: 30.61 kB / 1.169 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.876, allocations: 12.86 kB / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.8761, allocations: 0 / 1.169 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.8761, allocations: 34.5 kB / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8761, allocations: 0 / 1.169 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001446/0.8763, allocations: 49.62 kB / 1.169 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.8763, allocations: 51.53 kB / 1.169 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.361e-05/0.8764, allocations: 97.86 kB / 1.169 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.8764, allocations: 29.7 kB / 1.169 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.8765, allocations: 80.14 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.8765, allocations: 3.906 kB / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-06/0.8765, allocations: 0 / 1.169 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.8766, allocations: 314.8 kB / 1.17 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.193e-05/0.8766, allocations: 4 kB / 1.17 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-06/0.8767, allocations: 4.125 kB / 1.17 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.8767, allocations: 20.8 kB / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8767, allocations: 0 / 1.17 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.941e-05/0.8768, allocations: 41.69 kB / 1.17 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.8768, allocations: 6.344 kB / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.8768, allocations: 3.938 kB / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.8768, allocations: 0 / 1.17 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001602/0.877, allocations: 8 kB / 1.17 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000388/0.8774, allocations: 0.5899 MB / 1.17 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.106e-05/0.8774, allocations: 8.016 kB / 1.17 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.8775, allocations: 0 / 1.17 GB, free: 10.61 MB / 0.7448 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.494e-05/0.8775, allocations: 109.8 kB / 1.17 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.223e-06/0.8776, allocations: 3.938 kB / 1.17 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.8777, allocations: 48.91 kB / 1.17 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.8777, allocations: 4 kB / 1.17 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8777, allocations: 0 / 1.17 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.8777, allocations: 0 / 1.17 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.8778, allocations: 153.6 kB / 1.171 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.8779, allocations: 0 / 1.171 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.459e-05/0.8779, allocations: 15.92 kB / 1.171 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.878, allocations: 0 / 1.171 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-06/0.878, allocations: 0 / 1.171 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003169/0.8783, allocations: 0.5822 MB / 1.171 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.8783, allocations: 7.875 kB / 1.171 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.33e-05/0.8784, allocations: 69.06 kB / 1.171 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.8784, allocations: 81.05 kB / 1.171 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.076e-05/0.8785, allocations: 3.938 kB / 1.171 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.8785, allocations: 4 kB / 1.171 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.8785, allocations: 12.05 kB / 1.171 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8785, allocations: 4.516 kB / 1.171 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.536e-05/0.8786, allocations: 79.28 kB / 1.171 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8786, allocations: 0 / 1.171 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003912/0.879, allocations: 12 kB / 1.171 GB, free: 9.305 MB / 0.7448 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.0001962/0.8792, allocations: 111.8 kB / 1.172 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.8793, allocations: 20.08 kB / 1.172 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.8793, allocations: 4.062 kB / 1.172 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.999e-05/0.8794, allocations: 15.98 kB / 1.172 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.8796, allocations: 4 kB / 1.172 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.8799, allocations: 111.6 kB / 1.172 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.8802, allocations: 0.6731 MB / 1.172 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.8802, allocations: 8.062 kB / 1.172 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.8803, allocations: 7.438 kB / 1.172 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.8803, allocations: 0 / 1.172 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of Templates: time 0.002453/0.8827, allocations: 419 kB / 1.173 GB, free: 7.93 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)