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.001515/0.001515, allocations: 105.1 kB / 16.29 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001641/0.001641, allocations: 179.3 kB / 17.22 MB, free: 5.641 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.355/1.355, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.835/1.835, allocations: 292.3 MB / 0.5495 GB, free: 17.54 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.001311/0.001311, allocations: 67.91 kB / 0.6722 GB, free: 6.535 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2228, allocations: 114.5 MB / 0.7841 GB, free: 3.875 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002343/0.2252, allocations: 1.284 MB / 0.7853 GB, free: 2.574 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009109/0.2261, allocations: 0.5955 MB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.442e-05/0.2262, allocations: 3.938 kB / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.2262, allocations: 0 / 0.7859 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.2263, allocations: 7.938 kB / 0.7859 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005397/0.2268, allocations: 145.6 kB / 0.7861 GB, free: 1.824 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.589e-05/0.2269, allocations: 19.92 kB / 0.7861 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.049e-05/0.2269, allocations: 4 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.227, allocations: 4 kB / 0.7861 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/0.227, allocations: 15.92 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.227, allocations: 0 / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005894/0.2276, allocations: 347.3 kB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.2277, allocations: 0 / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.2277, allocations: 7.938 kB / 0.7864 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002907/0.228, allocations: 151.9 kB / 0.7866 GB, free: 1.285 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.228, allocations: 4 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.743e-06/0.228, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.228, allocations: 3.938 kB / 0.7866 GB, free: 1.277 MB / 0.6544 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.0004749/0.2285, allocations: 359.5 kB / 0.7869 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.2286, allocations: 16.02 kB / 0.7869 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.2286, allocations: 4.844 kB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2287, allocations: 160.4 kB / 0.7871 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2288, allocations: 8.375 kB / 0.7871 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.2288, allocations: 4.375 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.2289, allocations: 46.19 kB / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2289, allocations: 192 / 0.7872 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2289, allocations: 3.938 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.2289, allocations: 0 / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.875e-05/0.229, allocations: 15.98 kB / 0.7872 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003765/0.2294, allocations: 244.9 kB / 0.7874 GB, free: 296 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.2296, allocations: 58.56 kB / 0.7875 GB, free: 228 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.2296, allocations: 16.86 kB / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.2297, allocations: 0 / 0.7875 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.2297, allocations: 34.56 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2297, allocations: 0 / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001864/0.2299, allocations: 57.81 kB / 0.7876 GB, free: 100 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.2299, allocations: 55.34 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3772/0.6071, allocations: 102.3 kB / 0.7877 GB, free: 49.29 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.6072, allocations: 26.73 kB / 0.7877 GB, free: 49.26 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.6072, allocations: 90.42 kB / 0.7878 GB, free: 49.18 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6073, allocations: 15.34 kB / 0.7878 GB, free: 49.17 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.6073, allocations: 16.45 kB / 0.7879 GB, free: 49.16 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.026e-05/0.6074, allocations: 314.8 kB / 0.7882 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.371e-05/0.6074, allocations: 11.36 kB / 0.7882 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.6075, allocations: 16.25 kB / 0.7882 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.134e-05/0.6076, allocations: 34.72 kB / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6076, allocations: 0 / 0.7882 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001275/0.6077, allocations: 64.34 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6077, allocations: 5.719 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.6077, allocations: 0 / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.6078, allocations: 3.094 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.565e-05/0.6079, allocations: 10.08 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.6079, allocations: 0 / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.6079, allocations: 4.219 kB / 0.7883 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.6079, allocations: 4.031 kB / 0.7883 GB, free: 48.78 MB / 0.6544 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 5.841e-05/0.608, allocations: 110.1 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.608, allocations: 2.5 kB / 0.7884 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001522/0.6082, allocations: 72.88 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.6082, allocations: 3.938 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6082, allocations: 0.6562 kB / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6082, allocations: 0 / 0.7885 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.6084, allocations: 158.5 kB / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.6084, allocations: 0 / 0.7886 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.6084, allocations: 10.45 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.6084, allocations: 2.781 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-06/0.6084, allocations: 1 kB / 0.7887 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.6084, allocations: 5.719 kB / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6084, allocations: 0 / 0.7887 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.283e-05/0.6085, allocations: 147.8 kB / 0.7888 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.6086, allocations: 79.52 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.6086, allocations: 0.5938 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.257e-05/0.6086, allocations: 3.938 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.6087, allocations: 10.67 kB / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.6087, allocations: 0 / 0.7889 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.026e-05/0.6087, allocations: 86.38 kB / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6087, allocations: 0 / 0.789 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002702/0.609, allocations: 21.75 kB / 0.789 GB, free: 48.13 MB / 0.6544 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.0001703/0.6092, allocations: 120.4 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.6093, allocations: 26.67 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6093, allocations: 0 / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-05/0.6093, allocations: 12.38 kB / 0.7891 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.6095, allocations: 4.703 kB / 0.7892 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.6098, allocations: 117.4 kB / 0.7893 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.61, allocations: 0.6773 MB / 0.7899 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.977e-05/0.61, allocations: 7.5 kB / 0.7899 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.61, allocations: 10.34 kB / 0.7899 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.61, allocations: 0 / 0.7899 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of Templates: time 0.002523/0.6126, allocations: 0.5062 MB / 0.7904 GB, free: 47.25 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)