Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.265/1.265, allocations: 252 MB / 267.9 MB, free: 10.91 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.0009563/0.0009567, allocations: 176.4 kB / 327.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.4 MB / 0.5785 GB, free: 20.22 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.000657/0.000657, allocations: 86.42 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003247/0.0003247, allocations: 16.41 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1531, allocations: 106.3 MB / 0.9012 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.2896, allocations: 132.1 MB / 1.03 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/0.2899, allocations: 79.95 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006195/0.2961, allocations: 2.285 MB / 1.033 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2961, allocations: 0 / 1.033 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.2961, allocations: 8 kB / 1.033 GB, free: 9.008 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.0002593/0.2964, allocations: 343.4 kB / 1.033 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2964, allocations: 8.031 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.2964, allocations: 0.9375 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.572e-05/0.2965, allocations: 164.3 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.405e-06/0.2966, allocations: 4.375 kB / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.2966, allocations: 384 / 1.033 GB, free: 8.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.209e-05/0.2967, allocations: 38.19 kB / 1.033 GB, free: 8.367 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.2967, allocations: 4.188 kB / 1.033 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.2967, allocations: 3.938 kB / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.2967, allocations: 0 / 1.033 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.339e-05/0.2967, allocations: 4 kB / 1.033 GB, free: 8.355 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.2969, allocations: 153.6 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.608e-05/0.2969, allocations: 26.61 kB / 1.033 GB, free: 8.121 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.548e-05/0.2969, allocations: 4.859 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.297, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.297, allocations: 42.56 kB / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.297, allocations: 0 / 1.033 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001173/0.2971, allocations: 45.62 kB / 1.033 GB, free: 8.012 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.2972, allocations: 51.41 kB / 1.033 GB, free: 7.949 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.957e-05/0.2972, allocations: 93.86 kB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2972, allocations: 25.7 kB / 1.034 GB, free: 7.816 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.331e-05/0.2973, allocations: 80.39 kB / 1.034 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.2973, allocations: 11.91 kB / 1.034 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-06/0.2973, allocations: 0 / 1.034 GB, free: 7.723 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.823e-05/0.2974, allocations: 318.8 kB / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.388e-06/0.2974, allocations: 0 / 1.034 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.718e-06/0.2974, allocations: 4 kB / 1.034 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.599e-05/0.2975, allocations: 16.8 kB / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.2975, allocations: 0 / 1.034 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.466e-05/0.2975, allocations: 33.77 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.2976, allocations: 8.031 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2976, allocations: 3.938 kB / 1.034 GB, free: 7.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2976, allocations: 7.984 kB / 1.034 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2977, allocations: 11.94 kB / 1.034 GB, free: 7.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003163/0.2981, allocations: 0.586 MB / 1.035 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.2981, allocations: 3.906 kB / 1.035 GB, free: 6.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.2981, allocations: 96 / 1.035 GB, free: 6.695 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 6.299e-05/0.2982, allocations: 121.8 kB / 1.035 GB, free: 6.566 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.2982, allocations: 4.031 kB / 1.035 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.021e-05/0.2983, allocations: 40.83 kB / 1.035 GB, free: 6.516 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.2983, allocations: 3.984 kB / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2983, allocations: 0 / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.2983, allocations: 0 / 1.035 GB, free: 6.512 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.12e-05/0.2984, allocations: 153.6 kB / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2984, allocations: 32 / 1.035 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.771e-05/0.2985, allocations: 19.92 kB / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2985, allocations: 0 / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.2985, allocations: 0 / 1.035 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002769/0.2988, allocations: 0.5821 MB / 1.035 GB, free: 5.688 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.2988, allocations: 7.938 kB / 1.035 GB, free: 5.68 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.975e-05/0.2989, allocations: 77.17 kB / 1.036 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.2989, allocations: 77.11 kB / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.669e-06/0.2989, allocations: 0 / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.308e-05/0.2989, allocations: 0 / 1.036 GB, free: 5.492 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.299, allocations: 7.938 kB / 1.036 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.299, allocations: 3.984 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.747e-05/0.299, allocations: 75.28 kB / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.299, allocations: 0 / 1.036 GB, free: 5.406 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002045/0.2992, allocations: 20.12 kB / 1.036 GB, free: 5.387 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.0001604/0.2994, allocations: 116.4 kB / 1.036 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.2995, allocations: 19.98 kB / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2995, allocations: 0 / 1.036 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.127e-05/0.2996, allocations: 8 kB / 1.036 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.2998, allocations: 14.98 kB / 1.036 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002897/0.3001, allocations: 115.2 kB / 1.036 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3003, allocations: 0.6692 MB / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.486e-05/0.3003, allocations: 0 / 1.037 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.166e-05/0.3003, allocations: 11.44 kB / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3003, allocations: 0 / 1.037 GB, free: 4.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.001991/0.3023, allocations: 428 kB / 1.037 GB, free: 3.996 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)