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.001231/0.00123, allocations: 105.6 kB / 15.98 MB, free: 6.336 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.001222/0.001222, allocations: 193.1 kB / 16.91 MB, free: 6.188 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.376/1.376, allocations: 205.1 MB / 222.8 MB, free: 4.676 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.632/1.632, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001493/0.001493, allocations: 64.59 kB / 0.6716 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2305, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00234/0.2329, allocations: 1.346 MB / 0.7848 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008869/0.2338, allocations: 0.5966 MB / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.2338, allocations: 0 / 0.7854 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.2339, allocations: 7.938 kB / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.2339, allocations: 0 / 0.7854 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004616/0.2344, allocations: 127.6 kB / 0.7855 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.2345, allocations: 31.78 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.2345, allocations: 4 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.2345, allocations: 4 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.817e-05/0.2346, allocations: 15.92 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2346, allocations: 0 / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004506/0.2351, allocations: 347.3 kB / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.818e-06/0.2351, allocations: 0 / 0.7859 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.193e-05/0.2351, allocations: 7.938 kB / 0.7859 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.2353, allocations: 108.1 kB / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2353, allocations: 0 / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2353, allocations: 0 / 0.786 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.2353, allocations: 0 / 0.786 GB, free: 11.31 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.0004123/0.2357, allocations: 359.4 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.2358, allocations: 8.031 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.2358, allocations: 0.9375 kB / 0.7864 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.2359, allocations: 168.4 kB / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.2359, allocations: 384 / 0.7865 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2359, allocations: 4.375 kB / 0.7866 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.2361, allocations: 42.25 kB / 0.7866 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2361, allocations: 192 / 0.7866 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.2361, allocations: 11.88 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.2361, allocations: 4 kB / 0.7866 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.444e-05/0.2362, allocations: 11.94 kB / 0.7866 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.2365, allocations: 253 kB / 0.7869 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.2367, allocations: 54.55 kB / 0.7869 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.2367, allocations: 16.86 kB / 0.7869 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.2367, allocations: 4 kB / 0.7869 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.2368, allocations: 30.56 kB / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2368, allocations: 0 / 0.787 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.2369, allocations: 61.53 kB / 0.787 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.237, allocations: 55.41 kB / 0.7871 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.265e-05/0.2371, allocations: 101.8 kB / 0.7872 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2371, allocations: 25.7 kB / 0.7872 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.2371, allocations: 84.08 kB / 0.7873 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.354e-05/0.2371, allocations: 15.81 kB / 0.7873 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.2372, allocations: 21.7 kB / 0.7873 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.2373, allocations: 310.8 kB / 0.7876 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.2373, allocations: 7.938 kB / 0.7876 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.918e-05/0.2374, allocations: 33.7 kB / 0.7876 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.2374, allocations: 29.66 kB / 0.7877 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2374, allocations: 4 kB / 0.7877 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.883e-05/0.2375, allocations: 57.56 kB / 0.7877 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2375, allocations: 4 kB / 0.7877 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2376, allocations: 0 / 0.7877 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2376, allocations: 4 kB / 0.7877 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.812e-05/0.2376, allocations: 12 kB / 0.7878 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.2376, allocations: 8.016 kB / 0.7878 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.337e-05/0.2377, allocations: 0 / 0.7878 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.2377, allocations: 3.984 kB / 0.7878 GB, free: 9.301 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.617e-05/0.2378, allocations: 113.8 kB / 0.7879 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.2378, allocations: 3.906 kB / 0.7879 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001414/0.2379, allocations: 65.12 kB / 0.7879 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.238, allocations: 0 / 0.7879 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.238, allocations: 4 kB / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.238, allocations: 0 / 0.7879 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2381, allocations: 165.6 kB / 0.7881 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2381, allocations: 3.938 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.2382, allocations: 7.984 kB / 0.7881 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2382, allocations: 0 / 0.7881 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2382, allocations: 4.469 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2382, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2382, allocations: 0 / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.2384, allocations: 155.5 kB / 0.7883 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.2384, allocations: 84.98 kB / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.2384, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.2385, allocations: 0 / 0.7883 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.2385, allocations: 7.984 kB / 0.7884 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2385, allocations: 0 / 0.7884 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.08e-05/0.2385, allocations: 79.28 kB / 0.7884 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2385, allocations: 0 / 0.7884 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002491/0.2388, allocations: 20 kB / 0.7884 GB, free: 8.492 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.0001713/0.239, allocations: 119.2 kB / 0.7886 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.568e-05/0.2391, allocations: 23.98 kB / 0.7886 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2391, allocations: 3.938 kB / 0.7886 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.2391, allocations: 15.98 kB / 0.7886 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.2393, allocations: 3.938 kB / 0.7886 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.2397, allocations: 156.2 kB / 0.7888 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.2399, allocations: 0.6807 MB / 0.7894 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.2399, allocations: 15.38 kB / 0.7894 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2399, allocations: 0 / 0.7894 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of Templates: time 0.001998/0.2419, allocations: 0.6974 MB / 0.7901 GB, free: 6.715 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)