Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.804/1.804, allocations: 297.8 MB / 313.7 MB, free: 144 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.0009414/0.0009415, allocations: 168.5 kB / 384.6 MB, free: 10.88 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.426/1.426, allocations: 223.2 MB / 0.6626 GB, free: 4.355 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.0007933/0.0007932, allocations: 98.56 kB / 0.7808 GB, free: 50.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005032/0.0005034, allocations: 16 kB / 0.9088 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7067/0.7072, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1844/0.8917, allocations: 141.7 MB / 1.165 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.892, allocations: 77.94 kB / 1.165 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006467/0.8985, allocations: 2.318 MB / 1.167 GB, free: 56 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.083e-06/0.8985, allocations: 0.9375 kB / 1.167 GB, free: 56 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.8985, allocations: 0 / 1.167 GB, free: 56 kB / 0.7292 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.0003128/0.8988, allocations: 335.5 kB / 1.167 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.8989, allocations: 8.828 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.8989, allocations: 5.375 kB / 1.167 GB, free: 15.67 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.8991, allocations: 170.3 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.8991, allocations: 1.125 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.8991, allocations: 384 / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.689e-05/0.8992, allocations: 32.69 kB / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.8992, allocations: 192 / 1.167 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.8992, allocations: 7.141 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.8992, allocations: 0.8125 kB / 1.168 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.8993, allocations: 8.703 kB / 1.168 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.8994, allocations: 149.6 kB / 1.168 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.005e-05/0.8995, allocations: 27.31 kB / 1.168 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.037e-05/0.8995, allocations: 11.83 kB / 1.168 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.8996, allocations: 0 / 1.168 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.8996, allocations: 31.36 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.895e-06/0.8996, allocations: 0.5312 kB / 1.168 GB, free: 15.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001331/0.8998, allocations: 49.48 kB / 1.168 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.8998, allocations: 59.91 kB / 1.168 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.8999, allocations: 91.69 kB / 1.168 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.8999, allocations: 27.14 kB / 1.168 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.11e-05/0.8999, allocations: 88.78 kB / 1.168 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.9, allocations: 8.594 kB / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.9, allocations: 0 / 1.168 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.9001, allocations: 313 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.221e-05/0.9001, allocations: 1.438 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.074e-05/0.9001, allocations: 4.609 kB / 1.168 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.97e-05/0.9002, allocations: 14.73 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9002, allocations: 1.188 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.824e-05/0.9003, allocations: 39.77 kB / 1.168 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9003, allocations: 13.62 kB / 1.168 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9003, allocations: 3.938 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.9003, allocations: 1.406 kB / 1.168 GB, free: 14.4 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/0.9005, allocations: 11.98 kB / 1.168 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003746/0.9009, allocations: 0.5853 MB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.9009, allocations: 1.438 kB / 1.169 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.9009, allocations: 0 / 1.169 GB, free: 13.79 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 9.059e-05/0.901, allocations: 115.1 kB / 1.169 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-06/0.901, allocations: 2.328 kB / 1.169 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.9011, allocations: 48.56 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.9011, allocations: 0.5625 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.9011, allocations: 1.188 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9012, allocations: 3.219 kB / 1.169 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.9013, allocations: 156.2 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.9013, allocations: 0.75 kB / 1.169 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.9014, allocations: 10.53 kB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9014, allocations: 0.5 kB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.9014, allocations: 0.5625 kB / 1.169 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000307/0.9017, allocations: 0.5851 MB / 1.17 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/0.9017, allocations: 5.391 kB / 1.17 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.992e-05/0.9018, allocations: 70.3 kB / 1.17 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.498e-05/0.9019, allocations: 77.91 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.9019, allocations: 1.594 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.9019, allocations: 7.938 kB / 1.17 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.9019, allocations: 7.438 kB / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.9019, allocations: 0 / 1.17 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.749e-05/0.902, allocations: 83.94 kB / 1.17 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.902, allocations: 0 / 1.17 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002119/0.9022, allocations: 4.656 kB / 1.17 GB, free: 12.54 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.0001838/0.9024, allocations: 119.7 kB / 1.17 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001435/0.9025, allocations: 21.61 kB / 1.17 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.9026, allocations: 0.75 kB / 1.17 GB, free: 12.4 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.087e-05/0.9026, allocations: 15.19 kB / 1.17 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.9028, allocations: 7.703 kB / 1.17 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.9032, allocations: 105.3 kB / 1.17 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.9034, allocations: 0.6755 MB / 1.171 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.876e-05/0.9034, allocations: 0.7031 kB / 1.171 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.391e-05/0.9035, allocations: 12.19 kB / 1.171 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9035, allocations: 0 / 1.171 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of Templates: time 0.00245/0.9059, allocations: 433.4 kB / 1.171 GB, free: 11.32 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)