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.001083/0.001083, allocations: 104.2 kB / 16.35 MB, free: 5.879 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.001079/0.001079, allocations: 192.8 kB / 17.29 MB, free: 5.516 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.277/1.277, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.744/1.744, allocations: 292.3 MB / 0.5496 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.001524/0.001524, allocations: 66.88 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1936, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002209/0.1959, allocations: 1.291 MB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008786/0.1968, allocations: 0.5916 MB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.234e-05/0.1968, allocations: 0 / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.837e-05/0.1968, allocations: 3.938 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.622e-05/0.1969, allocations: 4 kB / 0.7866 GB, free: 1.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.1974, allocations: 143.1 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.1974, allocations: 27.8 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.1975, allocations: 8 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.1975, allocations: 7.984 kB / 0.7868 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.1976, allocations: 11.92 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.1976, allocations: 0 / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004924/0.1981, allocations: 343.3 kB / 0.7871 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.315e-05/0.1981, allocations: 3.984 kB / 0.7871 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.1981, allocations: 15.94 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.1984, allocations: 147.7 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1984, allocations: 0 / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1984, allocations: 3.938 kB / 0.7873 GB, free: 0.5664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.1984, allocations: 0 / 0.7873 GB, free: 0.5664 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.0004115/0.1988, allocations: 359.4 kB / 0.7876 GB, free: 168 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1989, allocations: 8.031 kB / 0.7876 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.1989, allocations: 8.828 kB / 0.7877 GB, free: 152 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2926/0.4915, allocations: 164.4 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.4916, allocations: 1.75 kB / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.4916, allocations: 384 / 0.7878 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.4917, allocations: 40.59 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.4917, allocations: 2.594 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.4918, allocations: 1 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4918, allocations: 1.375 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.719e-05/0.4918, allocations: 21.27 kB / 0.7879 GB, free: 48.63 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000264/0.4921, allocations: 250.7 kB / 0.7881 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001751/0.4923, allocations: 48.89 kB / 0.7882 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/0.4923, allocations: 14.62 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4923, allocations: 7.297 kB / 0.7882 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.4924, allocations: 36.97 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.4924, allocations: 1.125 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.4925, allocations: 56.31 kB / 0.7883 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.4926, allocations: 54.72 kB / 0.7883 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.548e-05/0.4926, allocations: 98.36 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.4926, allocations: 30.8 kB / 0.7884 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.4926, allocations: 88.08 kB / 0.7885 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.4927, allocations: 8.969 kB / 0.7885 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4927, allocations: 19.03 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.4927, allocations: 315.3 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.4928, allocations: 7.156 kB / 0.7889 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.799e-05/0.4928, allocations: 26.48 kB / 0.7889 GB, free: 47.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.4928, allocations: 33.08 kB / 0.7889 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4928, allocations: 0 / 0.7889 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.527e-05/0.4929, allocations: 65.97 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4929, allocations: 9.562 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.493, allocations: 3.719 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.493, allocations: 0 / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.596e-05/0.493, allocations: 8.812 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.493, allocations: 2.688 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.568e-05/0.4931, allocations: 3.797 kB / 0.789 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.4931, allocations: 3.812 kB / 0.789 GB, free: 47.59 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 3.763e-05/0.4931, allocations: 110.4 kB / 0.7891 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.4931, allocations: 10.2 kB / 0.7891 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001112/0.4933, allocations: 61.22 kB / 0.7892 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4933, allocations: 0.6562 kB / 0.7892 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.4933, allocations: 4.875 kB / 0.7892 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.4933, allocations: 3.281 kB / 0.7892 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.4934, allocations: 157.2 kB / 0.7893 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.4934, allocations: 0 / 0.7893 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.4934, allocations: 5.25 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4935, allocations: 5.188 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4935, allocations: 6.125 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4935, allocations: 0 / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4935, allocations: 0.5 kB / 0.7894 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.083e-05/0.4936, allocations: 151.7 kB / 0.7895 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.588e-05/0.4936, allocations: 81.05 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.175e-05/0.4936, allocations: 3.125 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.191e-05/0.4937, allocations: 3.438 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.4937, allocations: 3.688 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.4937, allocations: 1.781 kB / 0.7896 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.782e-05/0.4937, allocations: 82 kB / 0.7897 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.4937, allocations: 0 / 0.7897 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002563/0.494, allocations: 19.97 kB / 0.7897 GB, free: 46.94 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.0001365/0.4941, allocations: 120 kB / 0.7898 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 8.451e-05/0.4942, allocations: 27.52 kB / 0.7898 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4942, allocations: 1 kB / 0.7898 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.709e-05/0.4942, allocations: 16.84 kB / 0.7899 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.4945, allocations: 3.438 kB / 0.7899 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.4947, allocations: 111.1 kB / 0.79 GB, free: 46.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.417e-05/0.4948, allocations: 0.6823 MB / 0.7906 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.764e-05/0.4948, allocations: 5.188 kB / 0.7906 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.4949, allocations: 10.06 kB / 0.7906 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.4949, allocations: 0 / 0.7906 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of Templates: time 0.002158/0.497, allocations: 0.5057 MB / 0.7911 GB, free: 46.06 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)