Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001058/0.001058, allocations: 102.9 kB / 16.35 MB, free: 5.875 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.001146/0.001146, allocations: 191 kB / 17.29 MB, free: 5.516 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.26/1.26, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7441/0.7441, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 67.89 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3122, allocations: 80.9 MB / 0.5858 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002015/0.3142, allocations: 1.27 MB / 0.587 GB, free: 24.6 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007497/0.315, allocations: 0.6053 MB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.315, allocations: 0 / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.716e-05/0.315, allocations: 0.5312 kB / 0.5876 GB, free: 24.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.3151, allocations: 9.344 kB / 0.5876 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004286/0.3155, allocations: 146.7 kB / 0.5877 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.815e-05/0.3156, allocations: 16.52 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.3156, allocations: 6.188 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.882e-05/0.3157, allocations: 3.969 kB / 0.5878 GB, free: 24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.946e-05/0.3157, allocations: 13.2 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.3157, allocations: 1.062 kB / 0.5878 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004061/0.3161, allocations: 346 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.3162, allocations: 5.5 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.3162, allocations: 8 kB / 0.5881 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002127/0.3164, allocations: 152 kB / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3164, allocations: 0.5 kB / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3164, allocations: 0 / 0.5883 GB, free: 23.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.3164, allocations: 0.9375 kB / 0.5883 GB, free: 23.7 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003343/0.3168, allocations: 356.3 kB / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.3168, allocations: 10.55 kB / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.3168, allocations: 7.109 kB / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.176e-05/0.3169, allocations: 165.5 kB / 0.5888 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.3169, allocations: 2.781 kB / 0.5888 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.3169, allocations: 1.781 kB / 0.5888 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.979e-05/0.317, allocations: 50.81 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3171, allocations: 0 / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3171, allocations: 4 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.3171, allocations: 1.219 kB / 0.5888 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.235e-05/0.3171, allocations: 8.969 kB / 0.5889 GB, free: 23.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002579/0.3174, allocations: 258.5 kB / 0.5891 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.3176, allocations: 43.78 kB / 0.5891 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.3176, allocations: 23.48 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3176, allocations: 5.625 kB / 0.5892 GB, free: 22.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.022e-05/0.3176, allocations: 32.91 kB / 0.5892 GB, free: 22.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3177, allocations: 1.219 kB / 0.5892 GB, free: 22.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001499/0.3178, allocations: 60.59 kB / 0.5893 GB, free: 22.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.3178, allocations: 51.94 kB / 0.5893 GB, free: 22.58 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.076e-05/0.3179, allocations: 102.7 kB / 0.5894 GB, free: 22.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.3179, allocations: 29.64 kB / 0.5894 GB, free: 22.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.588e-05/0.3179, allocations: 85.86 kB / 0.5895 GB, free: 22.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.318, allocations: 10.62 kB / 0.5895 GB, free: 22.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.788e-05/0.318, allocations: 22.3 kB / 0.5896 GB, free: 22.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.332e-05/0.318, allocations: 321 kB / 0.5899 GB, free: 22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.3181, allocations: 11.81 kB / 0.5899 GB, free: 21.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.3181, allocations: 21.42 kB / 0.5899 GB, free: 21.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.3182, allocations: 29.78 kB / 0.5899 GB, free: 21.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3182, allocations: 0.75 kB / 0.5899 GB, free: 21.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.387e-05/0.3182, allocations: 59.47 kB / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.3183, allocations: 6.438 kB / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3183, allocations: 0 / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3183, allocations: 1.344 kB / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.3183, allocations: 9.969 kB / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3183, allocations: 0 / 0.59 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.343e-05/0.3184, allocations: 9.109 kB / 0.59 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.3184, allocations: 2.281 kB / 0.59 GB, free: 21.89 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.071e-05/0.3184, allocations: 112.4 kB / 0.5901 GB, free: 21.78 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.3185, allocations: 6.469 kB / 0.5901 GB, free: 21.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.3186, allocations: 64.84 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3186, allocations: 0 / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3186, allocations: 2.875 kB / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3186, allocations: 0 / 0.5902 GB, free: 21.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3187, allocations: 158.9 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3187, allocations: 0 / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.403e-05/0.3187, allocations: 10.33 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3188, allocations: 3.188 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.3188, allocations: 1.25 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3188, allocations: 0 / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3188, allocations: 1.312 kB / 0.5903 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.323e-05/0.3189, allocations: 150.5 kB / 0.5905 GB, free: 21.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.3189, allocations: 82.39 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.071e-05/0.3189, allocations: 3.281 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.864e-05/0.319, allocations: 128 / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.319, allocations: 5.203 kB / 0.5906 GB, free: 21.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.319, allocations: 5.719 kB / 0.5906 GB, free: 21.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.787e-05/0.319, allocations: 86.53 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.319, allocations: 0.5625 kB / 0.5907 GB, free: 21.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3192, allocations: 19.19 kB / 0.5907 GB, free: 21.17 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 (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.0001415/0.3194, allocations: 125.2 kB / 0.5908 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.625e-05/0.3195, allocations: 26.8 kB / 0.5908 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3195, allocations: 0 / 0.5908 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.642e-05/0.3195, allocations: 15.98 kB / 0.5908 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.3197, allocations: 15 kB / 0.5909 GB, free: 20.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.3199, allocations: 116.2 kB / 0.591 GB, free: 20.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.26e-05/0.32, allocations: 0.6845 MB / 0.5916 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.3201, allocations: 5.484 kB / 0.5916 GB, free: 20.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.603e-05/0.3201, allocations: 13.06 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3201, allocations: 3.938 kB / 0.5917 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002029/0.3221, allocations: 0.5033 MB / 0.5922 GB, free: 19.65 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)