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.001026/0.001026, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00105/0.00105, allocations: 192.3 kB / 16.13 MB, free: 6.699 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.385/1.385, allocations: 205.1 MB / 222 MB, free: 4.762 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.735/1.735, allocations: 292.3 MB / 0.5484 GB, free: 13.69 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.001364/0.001364, allocations: 66.39 kB / 0.6708 GB, free: 26.49 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2467, allocations: 114.6 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002455/0.2492, allocations: 1.339 MB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.2502, allocations: 0.6161 MB / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.2502, allocations: 0 / 0.7846 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2503, allocations: 7.984 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.145e-05/0.2503, allocations: 3.938 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.2508, allocations: 119.6 kB / 0.7847 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.349e-05/0.2509, allocations: 23.86 kB / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.2509, allocations: 0 / 0.7847 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.064e-05/0.2509, allocations: 8 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.603e-05/0.251, allocations: 11.92 kB / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.251, allocations: 0 / 0.7848 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.2515, allocations: 343.3 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.2515, allocations: 4 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.2515, allocations: 11.92 kB / 0.7851 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002333/0.2518, allocations: 155.9 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2518, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.32e-07/0.2518, allocations: 0 / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2518, allocations: 0 / 0.7852 GB, free: 11.38 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.0004302/0.2522, allocations: 363.4 kB / 0.7856 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.2523, allocations: 8.031 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.2523, allocations: 0.9375 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2524, allocations: 164.4 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.2524, allocations: 12.3 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.2525, allocations: 4.375 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.2526, allocations: 42.25 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-06/0.2526, allocations: 192 / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2526, allocations: 3.938 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.2526, allocations: 0 / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.2527, allocations: 23.98 kB / 0.7858 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.253, allocations: 245 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.2532, allocations: 58.5 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.2532, allocations: 16.86 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.2533, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.2533, allocations: 30.56 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.2533, allocations: 0 / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001669/0.2535, allocations: 61.59 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2535, allocations: 63.33 kB / 0.7863 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.772e-05/0.2536, allocations: 97.8 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.2536, allocations: 25.7 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.2536, allocations: 88.08 kB / 0.7865 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.238e-05/0.2537, allocations: 15.8 kB / 0.7865 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.2537, allocations: 21.66 kB / 0.7865 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.2538, allocations: 310.8 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.2538, allocations: 8 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.895e-05/0.2539, allocations: 21.7 kB / 0.7869 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.282e-05/0.2539, allocations: 29.72 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.2539, allocations: 0 / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.393e-05/0.254, allocations: 65.56 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.254, allocations: 4 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.254, allocations: 0 / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.2541, allocations: 4 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.62e-05/0.2541, allocations: 7.984 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.2541, allocations: 8.031 kB / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.212e-05/0.2542, allocations: 0 / 0.787 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.2542, allocations: 432 / 0.787 GB, free: 9.371 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 7.599e-05/0.2542, allocations: 121.7 kB / 0.7871 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.2543, allocations: 3.906 kB / 0.7871 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.2544, allocations: 61.17 kB / 0.7871 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.2544, allocations: 3.984 kB / 0.7872 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2544, allocations: 4 kB / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2544, allocations: 0 / 0.7872 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.2546, allocations: 165.6 kB / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2546, allocations: 0 / 0.7873 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.641e-05/0.2546, allocations: 4 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2546, allocations: 0 / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.2546, allocations: 4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2547, allocations: 0 / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2547, allocations: 3.938 kB / 0.7873 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2548, allocations: 151.5 kB / 0.7875 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.2548, allocations: 81.05 kB / 0.7875 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.2548, allocations: 8.109 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.827e-05/0.2549, allocations: 0 / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.382e-05/0.2549, allocations: 4 kB / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.2549, allocations: 0 / 0.7876 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.799e-05/0.255, allocations: 83.28 kB / 0.7876 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.255, allocations: 0 / 0.7876 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002411/0.2552, allocations: 16 kB / 0.7877 GB, free: 8.562 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.0001677/0.2554, allocations: 127.2 kB / 0.7878 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.2555, allocations: 27.88 kB / 0.7878 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.2555, allocations: 0 / 0.7878 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.068e-05/0.2555, allocations: 15.98 kB / 0.7878 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2557, allocations: 3.938 kB / 0.7878 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002664/0.256, allocations: 128.3 kB / 0.7879 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.2562, allocations: 0.6848 MB / 0.7886 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.126e-05/0.2563, allocations: 256 / 0.7886 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.2563, allocations: 11.44 kB / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of SimCode: time 3.71e-07/0.2563, allocations: 0 / 0.7886 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of Templates: time 0.002356/0.2587, allocations: 0.4976 MB / 0.7891 GB, free: 7.008 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)