Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.676/1.676, allocations: 289.7 MB / 302.2 MB, free: 2.141 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.001108/0.001108, allocations: 184.2 kB / 371.6 MB, free: 3.391 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.451/1.451, allocations: 205.1 MB / 0.6309 GB, free: 11.71 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.0008749/0.0008747, allocations: 94.19 kB / 0.745 GB, free: 54.69 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.044e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2249, allocations: 116.3 MB / 0.9798 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.642/0.8669, allocations: 140.6 MB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001958/0.8672, allocations: 80.47 kB / 1.117 GB, free: 43.4 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01385/0.8811, allocations: 5.312 MB / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8811, allocations: 0 / 1.122 GB, free: 40.32 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.8811, allocations: 0 / 1.122 GB, free: 40.32 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002488/0.8814, allocations: 362.1 kB / 1.123 GB, free: 39.93 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.8814, allocations: 12.03 kB / 1.123 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.8814, allocations: 6.031 kB / 1.123 GB, free: 39.92 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.756e-05/0.8815, allocations: 167 kB / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.8816, allocations: 0.6875 kB / 1.123 GB, free: 39.72 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.8816, allocations: 4 kB / 1.123 GB, free: 39.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.8817, allocations: 42.75 kB / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.8817, allocations: 0 / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.8817, allocations: 0 / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.8817, allocations: 0.5 kB / 1.123 GB, free: 39.68 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.827e-05/0.8818, allocations: 19.81 kB / 1.123 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003/0.8821, allocations: 257.2 kB / 1.123 GB, free: 39.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.8823, allocations: 44.78 kB / 1.123 GB, free: 39.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.8823, allocations: 19.86 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.8824, allocations: 0 / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.8824, allocations: 35.38 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.8824, allocations: 0.6562 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001417/0.8826, allocations: 61.69 kB / 1.123 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.8826, allocations: 55.36 kB / 1.123 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.635e-05/0.8827, allocations: 96.27 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.8827, allocations: 25.7 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.226e-05/0.8827, allocations: 84.2 kB / 1.124 GB, free: 38.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.536e-06/0.8827, allocations: 7.812 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-06/0.8827, allocations: 4.656 kB / 1.124 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.8828, allocations: 321.1 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.8828, allocations: 4 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.013e-05/0.8828, allocations: 20.78 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.156e-05/0.8829, allocations: 7.062 kB / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.8829, allocations: 0 / 1.124 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.297e-05/0.8829, allocations: 59.67 kB / 1.124 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.883, allocations: 8.172 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.883, allocations: 4.031 kB / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.883, allocations: 0 / 1.124 GB, free: 38.52 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.883, allocations: 8.75 kB / 1.124 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.8831, allocations: 0 / 1.124 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.8831, allocations: 15.8 kB / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.8831, allocations: 0 / 1.124 GB, free: 38.5 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.8831, allocations: 101.6 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.8832, allocations: 7.812 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001146/0.8833, allocations: 62.64 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8833, allocations: 0 / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.8833, allocations: 0.875 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.8833, allocations: 0 / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.8834, allocations: 159.8 kB / 1.124 GB, free: 38.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8834, allocations: 7.281 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.141e-05/0.8835, allocations: 4 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.8835, allocations: 3.938 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8835, allocations: 4 kB / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.8835, allocations: 0 / 1.124 GB, free: 38.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8835, allocations: 9.25 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.984e-05/0.8836, allocations: 148.8 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.8836, allocations: 84.58 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.8836, allocations: 0 / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.8837, allocations: 0 / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.8837, allocations: 7.312 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.8837, allocations: 1.375 kB / 1.125 GB, free: 37.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.911e-05/0.8837, allocations: 87.64 kB / 1.125 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8837, allocations: 0 / 1.125 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002371/0.884, allocations: 19.56 kB / 1.125 GB, free: 37.75 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.8842, allocations: 139.6 kB / 1.125 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001049/0.8843, allocations: 23.02 kB / 1.125 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8843, allocations: 0 / 1.125 GB, free: 37.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-05/0.8843, allocations: 11.38 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001229/0.8844, allocations: 7.141 kB / 1.125 GB, free: 37.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001671/0.8846, allocations: 66.97 kB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.8847, allocations: 0.6804 MB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.8848, allocations: 0.75 kB / 1.126 GB, free: 36.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.656e-05/0.8848, allocations: 11.44 kB / 1.126 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8848, allocations: 0 / 1.126 GB, free: 36.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.002125/0.8869, allocations: 495.2 kB / 1.126 GB, free: 36.53 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)