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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 195.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 222.4 MB, free: 4.434 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002558/0.002558, allocations: 69.56 kB / 0.6715 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2639, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.003017/0.267, allocations: 1.282 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.2681, allocations: 0.5877 MB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.093e-05/0.2682, allocations: 0 / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.555e-05/0.2682, allocations: 3.984 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.164e-05/0.2683, allocations: 11.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.2689, allocations: 135.4 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.181e-05/0.2689, allocations: 27.86 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.921e-05/0.269, allocations: 0 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.269, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.117e-05/0.2691, allocations: 19.91 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.2691, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005147/0.2696, allocations: 339.3 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.2696, allocations: 8 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.2697, allocations: 11.92 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.27, allocations: 147.9 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.27, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.27, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.27, allocations: 0 / 0.7859 GB, free: 10.91 MB / 0.6075 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.0004268/0.2704, allocations: 359.4 kB / 0.7862 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2705, allocations: 8.031 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.2705, allocations: 4.938 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.2706, allocations: 172.3 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2706, allocations: 8.375 kB / 0.7864 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.2707, allocations: 8.312 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.2708, allocations: 38.25 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2708, allocations: 4.188 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.2708, allocations: 3.938 kB / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2708, allocations: 0 / 0.7865 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.2709, allocations: 15.98 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.2712, allocations: 248.9 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.2714, allocations: 58.56 kB / 0.7868 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.2715, allocations: 20.84 kB / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.2715, allocations: 0 / 0.7868 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.2715, allocations: 30.56 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2715, allocations: 0 / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001691/0.2717, allocations: 65.59 kB / 0.7869 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2717, allocations: 55.34 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.53e-05/0.2718, allocations: 101.8 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.2718, allocations: 25.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/0.2719, allocations: 84.08 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.108e-05/0.2719, allocations: 11.81 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.2719, allocations: 17.72 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.272, allocations: 314.8 kB / 0.7875 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.2721, allocations: 15.94 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.143e-05/0.2721, allocations: 21.72 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.781e-05/0.2721, allocations: 29.7 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2722, allocations: 0 / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.57e-05/0.2723, allocations: 61.56 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2723, allocations: 8.938 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.2723, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2723, allocations: 4.031 kB / 0.7876 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.847e-05/0.2724, allocations: 8 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.2724, allocations: 0 / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.2724, allocations: 0 / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2724, allocations: 4 kB / 0.7876 GB, free: 8.906 MB / 0.6075 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.819e-05/0.2725, allocations: 122.4 kB / 0.7877 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.2725, allocations: 3.906 kB / 0.7877 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.2727, allocations: 61.17 kB / 0.7878 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2727, allocations: 4 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.2727, allocations: 4 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2727, allocations: 480 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.2728, allocations: 161.6 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.2728, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.536e-05/0.2729, allocations: 11.98 kB / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.2729, allocations: 128 / 0.788 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.2729, allocations: 7.938 kB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2729, allocations: 3.938 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.273, allocations: 0 / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.2731, allocations: 155.5 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.89e-05/0.2732, allocations: 81.05 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.2732, allocations: 4 kB / 0.7882 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.901e-05/0.2733, allocations: 4 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/0.2733, allocations: 0 / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.2734, allocations: 3.984 kB / 0.7882 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.747e-05/0.2734, allocations: 79.28 kB / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.2734, allocations: 0 / 0.7883 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003679/0.2738, allocations: 24 kB / 0.7883 GB, free: 8.082 MB / 0.6075 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000196/0.274, allocations: 115.2 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001081/0.2741, allocations: 31.92 kB / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2741, allocations: 0 / 0.7884 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.859e-05/0.2742, allocations: 8 kB / 0.7884 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.2745, allocations: 14.38 kB / 0.7885 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004709/0.275, allocations: 133.6 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.2754, allocations: 0.6768 MB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.177e-05/0.2755, allocations: 3.984 kB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.2755, allocations: 11.44 kB / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.2755, allocations: 0 / 0.7893 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.003677/0.2792, allocations: 0.5055 MB / 0.7898 GB, free: 6.531 MB / 0.6075 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)