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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001326, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 188.8 kB / 16.62 MB, free: 6.613 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.387/1.387, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.738/1.738, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002414/0.002414, allocations: 70.94 kB / 0.6723 GB, free: 26.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2599, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003757/0.2637, allocations: 1.247 MB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.2648, allocations: 0.5799 MB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.278e-05/0.2649, allocations: 0 / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.864e-05/0.265, allocations: 4 kB / 0.7859 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.265, allocations: 11.88 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006634/0.2657, allocations: 135.5 kB / 0.786 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.774e-05/0.2658, allocations: 11.94 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.186e-05/0.2658, allocations: 7.969 kB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.125e-05/0.2659, allocations: 7.938 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.868e-05/0.2659, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.2659, allocations: 0 / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.2665, allocations: 343.3 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.2665, allocations: 7.984 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.2666, allocations: 7.938 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.2669, allocations: 135.7 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.2669, allocations: 0 / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2669, allocations: 4 kB / 0.7865 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2669, allocations: 0 / 0.7865 GB, free: 10.21 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000509/0.2675, allocations: 353.8 kB / 0.7869 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/0.2675, allocations: 8.031 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.2676, allocations: 8.781 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.2678, allocations: 168.4 kB / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.2678, allocations: 384 / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.2678, allocations: 384 / 0.7871 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.268, allocations: 38.2 kB / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.268, allocations: 192 / 0.7871 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.364e-05/0.268, allocations: 3.938 kB / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2681, allocations: 0 / 0.7871 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.2681, allocations: 7.984 kB / 0.7871 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.2683, allocations: 149.7 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.759e-05/0.2684, allocations: 26.59 kB / 0.7873 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.892e-05/0.2684, allocations: 4.859 kB / 0.7873 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.2684, allocations: 8.047 kB / 0.7873 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.178e-05/0.2685, allocations: 42.5 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2685, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.2687, allocations: 37.64 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.2687, allocations: 55.53 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2688, allocations: 101.8 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.2688, allocations: 25.7 kB / 0.7875 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.306e-05/0.2689, allocations: 80.14 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.2689, allocations: 7.906 kB / 0.7876 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.2689, allocations: 9.719 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.2691, allocations: 314.8 kB / 0.7879 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.2691, allocations: 8.125 kB / 0.7879 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.717e-05/0.2691, allocations: 3.984 kB / 0.7879 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.2692, allocations: 20.8 kB / 0.788 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2692, allocations: 3.938 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.686e-05/0.2692, allocations: 33.7 kB / 0.788 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2693, allocations: 4 kB / 0.788 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.2693, allocations: 3.938 kB / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.2693, allocations: 0 / 0.788 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.2695, allocations: 11.98 kB / 0.788 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004208/0.2699, allocations: 0.59 MB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.902e-05/0.2699, allocations: 0 / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.2699, allocations: 0 / 0.7886 GB, free: 7.863 MB / 0.6075 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 0.0001072/0.2701, allocations: 117.3 kB / 0.7887 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2701, allocations: 11.84 kB / 0.7887 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001198/0.2702, allocations: 52.89 kB / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2702, allocations: 0 / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.2702, allocations: 0 / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.2702, allocations: 0 / 0.7888 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.2704, allocations: 153.6 kB / 0.7889 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2704, allocations: 4 kB / 0.7889 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.2705, allocations: 15.92 kB / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.2705, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.2705, allocations: 0 / 0.7889 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003712/0.2709, allocations: 0.5861 MB / 0.7895 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2709, allocations: 3.938 kB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.365e-05/0.2709, allocations: 65.16 kB / 0.7896 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.271, allocations: 81.05 kB / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.271, allocations: 0 / 0.7897 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.363e-05/0.271, allocations: 4.125 kB / 0.7897 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.2711, allocations: 3.938 kB / 0.7897 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.2711, allocations: 4 kB / 0.7897 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.241e-05/0.2711, allocations: 75.28 kB / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2711, allocations: 0 / 0.7897 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002059/0.2713, allocations: 19.92 kB / 0.7898 GB, free: 6.551 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 (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.0001738/0.2715, allocations: 107.2 kB / 0.7899 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.2717, allocations: 24.08 kB / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2717, allocations: 0 / 0.7899 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.379e-05/0.2718, allocations: 15.98 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.272, allocations: 2.438 kB / 0.7899 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.2724, allocations: 109.9 kB / 0.79 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.2726, allocations: 0.6767 MB / 0.7907 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.776e-05/0.2727, allocations: 8.062 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.433e-05/0.2727, allocations: 11.44 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of SimCode: time 3.41e-07/0.2727, allocations: 0 / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of Templates: time 0.002844/0.2755, allocations: 454.9 kB / 0.7911 GB, free: 5.105 MB / 0.6075 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)