Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008217/0.0008218, allocations: 90.91 kB / 15.06 MB, free: 1.094 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.0009192/0.0009192, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6582/0.6582, allocations: 132.3 MB / 423.4 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002599/0.00026, allocations: 18.03 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3372, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.000968/0.3382, allocations: 1.001 MB / 0.5841 GB, free: 3.246 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006892/0.3389, allocations: 0.5493 MB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.034e-05/0.3389, allocations: 0 / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.3389, allocations: 0.6562 kB / 0.5846 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.564e-05/0.339, allocations: 9.344 kB / 0.5846 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000373/0.3394, allocations: 125.2 kB / 0.5847 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.269e-05/0.3394, allocations: 25.12 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3395, allocations: 2.516 kB / 0.5847 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.75e-05/0.3395, allocations: 5.234 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.397e-05/0.3395, allocations: 10.98 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.3395, allocations: 1.375 kB / 0.5848 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.34, allocations: 334.2 kB / 0.5851 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-06/0.34, allocations: 6.469 kB / 0.5851 GB, free: 2.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.612e-05/0.34, allocations: 28.33 kB / 0.5851 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001528/0.3402, allocations: 101.4 kB / 0.5852 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3402, allocations: 0.5625 kB / 0.5852 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3402, allocations: 4 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.3402, allocations: 1.25 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB 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.0002683/0.3405, allocations: 350.5 kB / 0.5856 GB, free: 2.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3405, allocations: 9.156 kB / 0.5856 GB, free: 2.254 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.296e-05/0.3406, allocations: 9.578 kB / 0.5856 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.343e-05/0.3406, allocations: 168.7 kB / 0.5857 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3406, allocations: 1.906 kB / 0.5857 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.3407, allocations: 2.016 kB / 0.5857 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.672e-05/0.3407, allocations: 43.95 kB / 0.5858 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3408, allocations: 0 / 0.5858 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.3408, allocations: 5.438 kB / 0.5858 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.3408, allocations: 0 / 0.5858 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.3408, allocations: 15.23 kB / 0.5858 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002219/0.3411, allocations: 249.6 kB / 0.586 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3412, allocations: 45.59 kB / 0.5861 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.859e-05/0.3413, allocations: 21.92 kB / 0.5861 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3413, allocations: 2 kB / 0.5861 GB, free: 1.676 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.204e-05/0.3413, allocations: 40.88 kB / 0.5861 GB, free: 1.629 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.3413, allocations: 0 / 0.5861 GB, free: 1.629 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001377/0.3414, allocations: 58.89 kB / 0.5862 GB, free: 1.586 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.691e-05/0.3415, allocations: 56.48 kB / 0.5862 GB, free: 1.52 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.117e-05/0.3415, allocations: 99.67 kB / 0.5863 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.3415, allocations: 29.7 kB / 0.5864 GB, free: 1.383 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.3416, allocations: 85.62 kB / 0.5865 GB, free: 1.297 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.3416, allocations: 15.81 kB / 0.5865 GB, free: 1.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.3416, allocations: 3.938 kB / 0.5865 GB, free: 1.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.486e-05/0.3416, allocations: 312.8 kB / 0.5868 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.3416, allocations: 9.766 kB / 0.5868 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.531e-05/0.3417, allocations: 21 kB / 0.5868 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.3417, allocations: 13.59 kB / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.3417, allocations: 0 / 0.5868 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.213e-05/0.3418, allocations: 55.61 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.3418, allocations: 6.141 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.3418, allocations: 128 / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.3418, allocations: 2.078 kB / 0.5869 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.3419, allocations: 16 kB / 0.5869 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.3419, allocations: 0.9062 kB / 0.5869 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/0.3419, allocations: 9.812 kB / 0.5869 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3419, allocations: 1.938 kB / 0.5869 GB, free: 0.8828 MB / 430.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.342, allocations: 114.1 kB / 0.587 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.342, allocations: 8.719 kB / 0.587 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.3421, allocations: 67 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.3421, allocations: 0.5625 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3421, allocations: 2.125 kB / 0.5871 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3421, allocations: 4.5 kB / 0.5871 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.657e-05/0.3422, allocations: 157.7 kB / 0.5872 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3422, allocations: 0.6562 kB / 0.5872 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.3423, allocations: 10.64 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3423, allocations: 0 / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.3423, allocations: 1.562 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3423, allocations: 0.9688 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3423, allocations: 0.8438 kB / 0.5873 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.575e-05/0.3424, allocations: 147.1 kB / 0.5874 GB, free: 368 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.471e-05/0.3424, allocations: 78.95 kB / 0.5875 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.016e-05/0.3424, allocations: 1.438 kB / 0.5875 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.3425, allocations: 4 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.442e-05/0.3425, allocations: 3.297 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3425, allocations: 1.219 kB / 0.5875 GB, free: 268 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.701e-05/0.3425, allocations: 82.89 kB / 0.5876 GB, free: 188 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3425, allocations: 3.938 kB / 0.5876 GB, free: 184 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.3427, allocations: 19.7 kB / 0.5876 GB, free: 180 kB / 430.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001204/0.3429, allocations: 116.6 kB / 0.5877 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.446e-05/0.3429, allocations: 25.62 kB / 0.5877 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.343, allocations: 0 / 0.5877 GB, free: 76 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.96e-05/0.343, allocations: 17.28 kB / 0.5877 GB, free: 68 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001854/0.3432, allocations: 6.75 kB / 0.5877 GB, free: 64 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/0.3434, allocations: 138.3 kB / 0.5879 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.3436, allocations: 0.6775 MB / 0.5885 GB, free: 15.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.3436, allocations: 6.859 kB / 0.5885 GB, free: 15.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.3437, allocations: 9.531 kB / 0.5885 GB, free: 15.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3437, allocations: 0.6875 kB / 0.5885 GB, free: 15.23 MB / 446.1 MB Notification: Performance of Templates: time 0.002051/0.3457, allocations: 495.9 kB / 0.589 GB, free: 15.15 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)