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.001375/0.001375, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001629/0.001629, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.354/1.354, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.72/1.72, allocations: 292.2 MB / 0.5485 GB, free: 13.61 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.001395/0.001395, allocations: 71.34 kB / 0.671 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2502, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002531/0.2528, allocations: 1.352 MB / 0.7842 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.2537, allocations: 0.5888 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.121e-05/0.2538, allocations: 4 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.2538, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.2539, allocations: 3.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004967/0.2544, allocations: 139.6 kB / 0.7849 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.2544, allocations: 15.88 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.2545, allocations: 7.984 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.14e-05/0.2545, allocations: 8 kB / 0.7849 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.2546, allocations: 7.938 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.2546, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004486/0.255, allocations: 351.3 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.255, allocations: 0 / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.2551, allocations: 11.94 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.2553, allocations: 143.9 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2553, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2553, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2553, allocations: 0 / 0.7854 GB, free: 11.27 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.0004276/0.2558, allocations: 365.8 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2558, allocations: 12.03 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.2559, allocations: 4.938 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.256, allocations: 164.4 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.256, allocations: 384 / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.256, allocations: 8.359 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.2561, allocations: 42.2 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.2562, allocations: 192 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.2562, allocations: 3.938 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.2562, allocations: 0 / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.2562, allocations: 15.98 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.2566, allocations: 257 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.2568, allocations: 54.44 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.2568, allocations: 20.84 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.2569, allocations: 0 / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.2569, allocations: 42.56 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.21e-07/0.2569, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001665/0.2571, allocations: 53.59 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.2571, allocations: 51.41 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.2572, allocations: 101.8 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.2572, allocations: 25.7 kB / 0.7866 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.021e-05/0.2572, allocations: 92.02 kB / 0.7867 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.2573, allocations: 11.81 kB / 0.7867 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.2573, allocations: 21.66 kB / 0.7867 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/0.2574, allocations: 318.8 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.2574, allocations: 4 kB / 0.787 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.2574, allocations: 21.72 kB / 0.787 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.587e-05/0.2575, allocations: 33.7 kB / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2575, allocations: 0 / 0.7871 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.191e-05/0.2576, allocations: 57.98 kB / 0.7871 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.2576, allocations: 12.03 kB / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2576, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.2576, allocations: 0 / 0.7871 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.243e-05/0.2577, allocations: 8 kB / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2577, allocations: 0 / 0.7871 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.2577, allocations: 4 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.782e-06/0.2577, allocations: 4 kB / 0.7871 GB, free: 9.262 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.715e-05/0.2578, allocations: 113.7 kB / 0.7872 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.2578, allocations: 11.89 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001232/0.258, allocations: 61.17 kB / 0.7873 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.258, allocations: 4 kB / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.258, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.258, allocations: 0 / 0.7873 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001607/0.2582, allocations: 161.6 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2582, allocations: 0 / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.636e-05/0.2582, allocations: 8 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2582, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.2582, allocations: 0 / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.2582, allocations: 3.984 kB / 0.7875 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2582, allocations: 4 kB / 0.7875 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.2584, allocations: 151.4 kB / 0.7876 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.235e-05/0.2584, allocations: 81.05 kB / 0.7877 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.2584, allocations: 4.125 kB / 0.7877 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.958e-05/0.2585, allocations: 4 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.199e-05/0.2585, allocations: 3.938 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2585, allocations: 4 kB / 0.7877 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.584e-05/0.2585, allocations: 83.27 kB / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.2585, allocations: 0 / 0.7878 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000245/0.2588, allocations: 24 kB / 0.7878 GB, free: 8.445 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.0001692/0.259, allocations: 123.2 kB / 0.7879 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.924e-05/0.2591, allocations: 23.92 kB / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2591, allocations: 0 / 0.788 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-05/0.2591, allocations: 12 kB / 0.788 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.2593, allocations: 11.03 kB / 0.788 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002854/0.2596, allocations: 134.5 kB / 0.7881 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2598, allocations: 0.6768 MB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.307e-05/0.2599, allocations: 4 kB / 0.7888 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.2599, allocations: 7.438 kB / 0.7888 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2599, allocations: 4 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of Templates: time 0.002424/0.2623, allocations: 0.5084 MB / 0.7893 GB, free: 6.887 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)