Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.763/1.763, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001604, allocations: 188.4 kB / 376.9 MB, free: 1.797 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205 MB / 0.6353 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 100.4 kB / 0.748 GB, free: 61.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 55.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2795, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003081/0.2827, allocations: 1.317 MB / 0.9835 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2838, allocations: 0.5995 MB / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.2839, allocations: 0 / 0.9841 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2839, allocations: 7.938 kB / 0.9841 GB, free: 8.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.284, allocations: 3.984 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005843/0.2846, allocations: 115.6 kB / 0.9842 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.2846, allocations: 11.94 kB / 0.9842 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.2847, allocations: 4 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.649e-05/0.2847, allocations: 7.969 kB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.47e-05/0.2848, allocations: 7.938 kB / 0.9843 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.072e-05/0.2848, allocations: 3.938 kB / 0.9843 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.2853, allocations: 343.3 kB / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.2854, allocations: 0 / 0.9846 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.2854, allocations: 7.984 kB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003106/0.2857, allocations: 140 kB / 0.9847 GB, free: 7.801 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.2857, allocations: 3.938 kB / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2857, allocations: 0 / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.2857, allocations: 0 / 0.9847 GB, free: 7.797 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004896/0.2862, allocations: 351.4 kB / 0.9851 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2863, allocations: 12.02 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.156e-05/0.2863, allocations: 0.9375 kB / 0.9851 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.2865, allocations: 168.4 kB / 0.9852 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.2865, allocations: 384 / 0.9852 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.2865, allocations: 384 / 0.9852 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.25e-05/0.2866, allocations: 30.27 kB / 0.9853 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.2866, allocations: 192 / 0.9853 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.2867, allocations: 3.938 kB / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.2867, allocations: 0 / 0.9853 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.06e-05/0.2867, allocations: 11.98 kB / 0.9853 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.2869, allocations: 153.7 kB / 0.9854 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.459e-05/0.287, allocations: 26.58 kB / 0.9855 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.318e-05/0.287, allocations: 8.906 kB / 0.9855 GB, free: 6.891 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.83e-05/0.287, allocations: 4 kB / 0.9855 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.287, allocations: 30.56 kB / 0.9855 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.287, allocations: 0 / 0.9855 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001595/0.2872, allocations: 45.67 kB / 0.9855 GB, free: 6.797 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2873, allocations: 59.44 kB / 0.9856 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.364e-05/0.2873, allocations: 93.84 kB / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.2874, allocations: 33.64 kB / 0.9857 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.145e-05/0.2874, allocations: 80.14 kB / 0.9858 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.2874, allocations: 7.906 kB / 0.9858 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.2875, allocations: 9.719 kB / 0.9858 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2876, allocations: 318.8 kB / 0.9861 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.192e-05/0.2876, allocations: 4.125 kB / 0.9861 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.027e-05/0.2876, allocations: 7.984 kB / 0.9861 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.914e-05/0.2877, allocations: 8.859 kB / 0.9861 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2877, allocations: 0 / 0.9861 GB, free: 6.137 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.572e-05/0.2877, allocations: 41.64 kB / 0.9862 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.2878, allocations: 4 kB / 0.9862 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.2878, allocations: 3.938 kB / 0.9862 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2878, allocations: 4 kB / 0.9862 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.288, allocations: 16.02 kB / 0.9862 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003753/0.2884, allocations: 0.5822 MB / 0.9868 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.2884, allocations: 3.906 kB / 0.9868 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.2884, allocations: 0 / 0.9868 GB, free: 5.453 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.049e-05/0.2885, allocations: 117.8 kB / 0.9869 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-06/0.2885, allocations: 4 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001068/0.2886, allocations: 56.83 kB / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2887, allocations: 0 / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.2887, allocations: 0 / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.2887, allocations: 0 / 0.9869 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2888, allocations: 153.6 kB / 0.9871 GB, free: 5.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2888, allocations: 4 kB / 0.9871 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.2889, allocations: 11.98 kB / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2889, allocations: 0 / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.2889, allocations: 0 / 0.9871 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003092/0.2892, allocations: 0.586 MB / 0.9877 GB, free: 4.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2892, allocations: 3.938 kB / 0.9877 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000324/0.2896, allocations: 0.6046 MB / 0.9883 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.2897, allocations: 101 kB / 0.9884 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.2897, allocations: 0 / 0.9884 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.2897, allocations: 4 kB / 0.9884 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.83e-05/0.2897, allocations: 0 / 0.9884 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-06/0.2897, allocations: 0 / 0.9884 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.202e-05/0.2898, allocations: 79.22 kB / 0.9884 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2898, allocations: 4 kB / 0.9885 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003122/0.2901, allocations: 11.94 kB / 0.9885 GB, free: 3.559 MB / 0.7136 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001955/0.2903, allocations: 111.3 kB / 0.9886 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001708/0.2905, allocations: 23.98 kB / 0.9886 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2905, allocations: 0 / 0.9886 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.99e-05/0.2906, allocations: 15.92 kB / 0.9886 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.2907, allocations: 7.938 kB / 0.9886 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004461/0.2912, allocations: 203.3 kB / 0.9888 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/0.2915, allocations: 0.677 MB / 0.9895 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.899e-05/0.2915, allocations: 0 / 0.9895 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.311e-05/0.2915, allocations: 11.38 kB / 0.9895 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of SimCode: time 2.8e-07/0.2915, allocations: 0 / 0.9895 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of Templates: time 0.003089/0.2946, allocations: 443 kB / 0.9899 GB, free: 2.008 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)