Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.441/2.441, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001354/0.001353, allocations: 182.6 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.611/2.611, allocations: 205.4 MB / 0.5772 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009805/0.0009802, allocations: 96.03 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006182/0.0006185, allocations: 14.78 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2129, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2506/0.4635, allocations: 131.9 MB / 1.028 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.4639, allocations: 79.95 kB / 1.028 GB, free: 13.33 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01207/0.476, allocations: 2.285 MB / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.476, allocations: 0 / 1.031 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.508e-06/0.4761, allocations: 4 kB / 1.031 GB, free: 11.04 MB / 0.6823 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.000432/0.4765, allocations: 339.5 kB / 1.031 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.4766, allocations: 12.03 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.125e-05/0.4766, allocations: 0.9375 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4768, allocations: 168.3 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.4768, allocations: 12.3 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.899e-06/0.4768, allocations: 384 / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.4769, allocations: 34.27 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.477, allocations: 192 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.477, allocations: 3.938 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.477, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.401e-05/0.477, allocations: 8 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.4772, allocations: 153.7 kB / 1.031 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.4773, allocations: 26.55 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.455e-05/0.4774, allocations: 4.859 kB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.4774, allocations: 3.938 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4774, allocations: 34.62 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.4775, allocations: 4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001727/0.4776, allocations: 45.62 kB / 1.031 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.4777, allocations: 51.41 kB / 1.032 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.331e-05/0.4778, allocations: 97.86 kB / 1.032 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.4778, allocations: 25.7 kB / 1.032 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.4779, allocations: 80.14 kB / 1.032 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.4779, allocations: 11.83 kB / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.4779, allocations: 256 / 1.032 GB, free: 9.742 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4781, allocations: 318.8 kB / 1.032 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.955e-05/0.4781, allocations: 4 kB / 1.032 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.536e-05/0.4781, allocations: 4 kB / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/0.4782, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4782, allocations: 0 / 1.032 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.449e-05/0.4783, allocations: 33.7 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.987e-05/0.4783, allocations: 11.98 kB / 1.032 GB, free: 9.363 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.4783, allocations: 3.938 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.4784, allocations: 4.094 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.4786, allocations: 8 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005279/0.4792, allocations: 0.586 MB / 1.033 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.4792, allocations: 3.984 kB / 1.033 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.4792, allocations: 0 / 1.033 GB, free: 8.734 MB / 0.6823 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 0.0001074/0.4793, allocations: 113.8 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4794, allocations: 8 kB / 1.033 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.4795, allocations: 44.81 kB / 1.033 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.4795, allocations: 3.938 kB / 1.033 GB, free: 8.551 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.4796, allocations: 4 kB / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4796, allocations: 0 / 1.033 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4797, allocations: 157.6 kB / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.4797, allocations: 0 / 1.033 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.4799, allocations: 15.98 kB / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.4799, allocations: 0 / 1.033 GB, free: 8.328 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.4799, allocations: 4.031 kB / 1.033 GB, free: 8.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004315/0.4804, allocations: 0.5821 MB / 1.034 GB, free: 7.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/0.4804, allocations: 3.938 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.4805, allocations: 65.09 kB / 1.034 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.4806, allocations: 81.17 kB / 1.034 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.4806, allocations: 11.98 kB / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.178e-05/0.4806, allocations: 0 / 1.034 GB, free: 7.523 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.4807, allocations: 7.922 kB / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.4807, allocations: 0 / 1.034 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.4807, allocations: 79.28 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4807, allocations: 0 / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002631/0.481, allocations: 16 kB / 1.034 GB, free: 7.422 MB / 0.6823 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.0002241/0.4813, allocations: 115.3 kB / 1.034 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002516/0.4815, allocations: 19.98 kB / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4815, allocations: 0 / 1.034 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.4817, allocations: 15.92 kB / 1.034 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.4819, allocations: 9.5 kB / 1.034 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000392/0.4823, allocations: 111.2 kB / 1.034 GB, free: 7.121 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4826, allocations: 0.6692 MB / 1.035 GB, free: 6.426 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.4826, allocations: 4 kB / 1.035 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.799e-05/0.4827, allocations: 7.438 kB / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/0.4827, allocations: 0 / 1.035 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of Templates: time 0.009184/0.4919, allocations: 423.4 kB / 1.035 GB, free: 6.031 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)