Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001045/0.001045, allocations: 100.1 kB / 16.35 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.001096/0.001096, allocations: 198 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.76/0.76, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 59.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 80.91 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002259/0.3347, allocations: 1.244 MB / 0.587 GB, free: 24.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009024/0.3356, allocations: 0.5941 MB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.039e-05/0.3356, allocations: 0 / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.557e-05/0.3356, allocations: 0 / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.687e-05/0.3357, allocations: 9.641 kB / 0.5876 GB, free: 24.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.3361, allocations: 132 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.351e-05/0.3362, allocations: 13.3 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.427e-05/0.3362, allocations: 1.812 kB / 0.5877 GB, free: 24.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.3363, allocations: 17.27 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.164e-05/0.3363, allocations: 1.531 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.3363, allocations: 1.281 kB / 0.5877 GB, free: 24.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004454/0.3368, allocations: 340.8 kB / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.3368, allocations: 0 / 0.588 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.3368, allocations: 11.2 kB / 0.5881 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.337, allocations: 136.4 kB / 0.5882 GB, free: 23.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.337, allocations: 3.984 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3371, allocations: 2.062 kB / 0.5882 GB, free: 23.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3371, allocations: 0 / 0.5882 GB, free: 23.75 MB / 446.1 MB 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.000289/0.3374, allocations: 356.9 kB / 0.5885 GB, free: 23.37 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.3374, allocations: 9.609 kB / 0.5885 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.585e-05/0.3374, allocations: 3.344 kB / 0.5885 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.215e-05/0.3375, allocations: 161.7 kB / 0.5887 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3375, allocations: 1.031 kB / 0.5887 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3375, allocations: 2.469 kB / 0.5887 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.06e-05/0.3376, allocations: 41.06 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.3376, allocations: 0 / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.3377, allocations: 4.156 kB / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3377, allocations: 0 / 0.5887 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.49e-05/0.3377, allocations: 3.281 kB / 0.5888 GB, free: 23.13 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001071/0.3378, allocations: 152.5 kB / 0.5889 GB, free: 22.94 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.3379, allocations: 24.11 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.3379, allocations: 8.203 kB / 0.5889 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.3379, allocations: 0 / 0.5889 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.3379, allocations: 40.09 kB / 0.589 GB, free: 22.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3379, allocations: 1.594 kB / 0.589 GB, free: 22.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.000123/0.3381, allocations: 47 kB / 0.589 GB, free: 22.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.3381, allocations: 54.12 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.237e-05/0.3381, allocations: 92.42 kB / 0.5892 GB, free: 22.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-06/0.3381, allocations: 27.36 kB / 0.5892 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.478e-05/0.3382, allocations: 81.3 kB / 0.5893 GB, free: 22.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.3382, allocations: 13.25 kB / 0.5893 GB, free: 22.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.3382, allocations: 11.16 kB / 0.5893 GB, free: 22.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.531e-05/0.3383, allocations: 317.8 kB / 0.5896 GB, free: 22.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.154e-05/0.3383, allocations: 1.375 kB / 0.5896 GB, free: 22.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.3383, allocations: 11.03 kB / 0.5896 GB, free: 22.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.492e-05/0.3383, allocations: 11.64 kB / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3383, allocations: 0 / 0.5896 GB, free: 22.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.245e-05/0.3384, allocations: 43.86 kB / 0.5896 GB, free: 22.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3384, allocations: 4.312 kB / 0.5897 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3384, allocations: 5.359 kB / 0.5897 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3384, allocations: 0.6875 kB / 0.5897 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.3386, allocations: 7.594 kB / 0.5897 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002215/0.3388, allocations: 0.5886 MB / 0.5902 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.3388, allocations: 0 / 0.5902 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3388, allocations: 1.812 kB / 0.5902 GB, free: 21.54 MB / 446.1 MB 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 4.953e-05/0.3389, allocations: 116.9 kB / 0.5904 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-06/0.3389, allocations: 6.438 kB / 0.5904 GB, free: 21.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.005e-05/0.339, allocations: 44.84 kB / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.339, allocations: 1.469 kB / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.309e-06/0.339, allocations: 0 / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.339, allocations: 0 / 0.5904 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.355e-05/0.3391, allocations: 154.1 kB / 0.5906 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3391, allocations: 1.219 kB / 0.5906 GB, free: 21.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.3392, allocations: 15.95 kB / 0.5906 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3392, allocations: 0 / 0.5906 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3392, allocations: 7.984 kB / 0.5906 GB, free: 21.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001623/0.3394, allocations: 0.5848 MB / 0.5911 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3394, allocations: 2.781 kB / 0.5911 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.991e-05/0.3394, allocations: 67.06 kB / 0.5912 GB, free: 20.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.3394, allocations: 77.11 kB / 0.5913 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.053e-05/0.3395, allocations: 1.312 kB / 0.5913 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.364e-05/0.3395, allocations: 5.812 kB / 0.5913 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3395, allocations: 9.234 kB / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.3395, allocations: 1.312 kB / 0.5913 GB, free: 20.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.702e-05/0.3395, allocations: 77.16 kB / 0.5914 GB, free: 20.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3395, allocations: 0 / 0.5914 GB, free: 20.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000184/0.3397, allocations: 12.34 kB / 0.5914 GB, free: 20.31 MB / 446.1 MB 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.0001365/0.3399, allocations: 115.4 kB / 0.5915 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.34, allocations: 21.67 kB / 0.5915 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.34, allocations: 2.312 kB / 0.5915 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.349e-05/0.3401, allocations: 14.25 kB / 0.5915 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.3403, allocations: 1.438 kB / 0.5915 GB, free: 20.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002841/0.3405, allocations: 114.9 kB / 0.5916 GB, free: 20.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.057e-05/0.3406, allocations: 0.6763 MB / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.401e-05/0.3407, allocations: 1.094 kB / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.04e-05/0.3407, allocations: 8.719 kB / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3407, allocations: 0 / 0.5923 GB, free: 19.38 MB / 446.1 MB Notification: Performance of Templates: time 0.002102/0.3428, allocations: 460.8 kB / 0.5928 GB, free: 19.03 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)