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.001539/0.001539, allocations: 106.8 kB / 15.99 MB, free: 5.895 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.001804/0.001804, allocations: 193.9 kB / 16.91 MB, free: 5.746 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9317/0.9317, allocations: 135.1 MB / 425.9 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 65.16 kB / 0.5055 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1752, allocations: 80.93 MB / 0.5845 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002667/0.1779, allocations: 1.333 MB / 0.5858 GB, free: 3.5 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.179, allocations: 0.601 MB / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.584e-05/0.179, allocations: 0 / 0.5864 GB, free: 2.898 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.687e-05/0.1791, allocations: 3.984 kB / 0.5864 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.724e-05/0.1791, allocations: 3.984 kB / 0.5864 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.1797, allocations: 131.5 kB / 0.5866 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.507e-05/0.1798, allocations: 19.94 kB / 0.5866 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.1799, allocations: 0 / 0.5866 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.243e-05/0.1799, allocations: 11.97 kB / 0.5866 GB, free: 2.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.936e-05/0.1799, allocations: 7.938 kB / 0.5866 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.18, allocations: 4 kB / 0.5866 GB, free: 2.719 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000489/0.1805, allocations: 339.3 kB / 0.5869 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.1805, allocations: 7.984 kB / 0.5869 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.1805, allocations: 11.92 kB / 0.5869 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002095/0.1807, allocations: 96.12 kB / 0.587 GB, free: 2.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1808, allocations: 0 / 0.587 GB, free: 2.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1808, allocations: 0 / 0.587 GB, free: 2.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.1808, allocations: 0 / 0.587 GB, free: 2.273 MB / 494.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.0004822/0.1813, allocations: 367.3 kB / 0.5874 GB, free: 1.867 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1813, allocations: 8.031 kB / 0.5874 GB, free: 1.859 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1814, allocations: 8.875 kB / 0.5874 GB, free: 1.852 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.1815, allocations: 164.4 kB / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1815, allocations: 384 / 0.5876 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.1815, allocations: 8.375 kB / 0.5876 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.1817, allocations: 49.75 kB / 0.5876 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.1817, allocations: 0 / 0.5876 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1817, allocations: 0 / 0.5876 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1817, allocations: 0 / 0.5876 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.1818, allocations: 15.98 kB / 0.5876 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.1821, allocations: 248.9 kB / 0.5879 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1824, allocations: 50.69 kB / 0.5879 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.78e-05/0.1824, allocations: 16.86 kB / 0.5879 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1824, allocations: 7.922 kB / 0.5879 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1825, allocations: 34.56 kB / 0.588 GB, free: 1.152 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1825, allocations: 3.938 kB / 0.588 GB, free: 1.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001816/0.1827, allocations: 57.59 kB / 0.588 GB, free: 1.086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.1827, allocations: 51.41 kB / 0.5881 GB, free: 1.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.1828, allocations: 101.9 kB / 0.5882 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.1828, allocations: 25.7 kB / 0.5882 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/0.1829, allocations: 84.14 kB / 0.5883 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.1829, allocations: 19.73 kB / 0.5883 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.774e-05/0.1829, allocations: 13.72 kB / 0.5883 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1831, allocations: 318.8 kB / 0.5886 GB, free: 448 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.1831, allocations: 11.92 kB / 0.5886 GB, free: 436 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.31e-05/0.1831, allocations: 25.72 kB / 0.5886 GB, free: 404 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.839e-05/0.1832, allocations: 29.72 kB / 0.5887 GB, free: 368 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1832, allocations: 0 / 0.5887 GB, free: 368 kB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.661e-05/0.1833, allocations: 54.05 kB / 0.5887 GB, free: 308 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1833, allocations: 8 kB / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1833, allocations: 0 / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1833, allocations: 0 / 0.5887 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.112e-05/0.1834, allocations: 11.98 kB / 0.5887 GB, free: 288 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.1834, allocations: 8.016 kB / 0.5888 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.506e-05/0.1835, allocations: 0 / 0.5888 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-06/0.1835, allocations: 4 kB / 0.5888 GB, free: 276 kB / 494.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 8.324e-05/0.1836, allocations: 113.8 kB / 0.5889 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1836, allocations: 15.83 kB / 0.5889 GB, free: 136 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.1837, allocations: 61.11 kB / 0.5889 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1837, allocations: 4 kB / 0.5889 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1837, allocations: 0 / 0.5889 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1838, allocations: 4 kB / 0.5889 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001797/0.1839, allocations: 161.7 kB / 0.5891 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1839, allocations: 0 / 0.5891 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.184, allocations: 8 kB / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.184, allocations: 0 / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.184, allocations: 0 / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.184, allocations: 0 / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.184, allocations: 0 / 0.5891 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.1842, allocations: 155.4 kB / 0.5893 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.737e-05/0.1842, allocations: 81.09 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1842, allocations: 8 kB / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.15e-05/0.1843, allocations: 0 / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.1843, allocations: 0 / 0.5893 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1843, allocations: 4 kB / 0.5893 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.319e-05/0.1844, allocations: 75.28 kB / 0.5894 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1844, allocations: 0 / 0.5894 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000248/0.1846, allocations: 31.86 kB / 0.5895 GB, free: 15.46 MB / 0.4981 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 (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.0001836/0.1848, allocations: 123.2 kB / 0.5896 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.1849, allocations: 27.92 kB / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1849, allocations: 0 / 0.5896 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.029e-05/0.1849, allocations: 12 kB / 0.5896 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.1852, allocations: 6.891 kB / 0.5896 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003205/0.1855, allocations: 160.1 kB / 0.5898 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1858, allocations: 0.6846 MB / 0.5904 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.1858, allocations: 11.44 kB / 0.5904 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.1858, allocations: 0 / 0.5904 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of Templates: time 0.002133/0.1879, allocations: 0.6945 MB / 0.5911 GB, free: 13.68 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)