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.006195/0.006195, allocations: 100.9 kB / 15.73 MB, free: 6.059 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.001121/0.001121, allocations: 190.8 kB / 16.67 MB, free: 5.969 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.392/1.392, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8121/0.8121, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 69.8 kB / 0.5856 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1792, allocations: 80.92 MB / 0.6646 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002253/0.1815, allocations: 1.281 MB / 0.6659 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009756/0.1825, allocations: 0.5996 MB / 0.6665 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.1826, allocations: 4 kB / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.1826, allocations: 0 / 0.6665 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.1826, allocations: 3.938 kB / 0.6665 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.1832, allocations: 147.4 kB / 0.6666 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.1832, allocations: 19.92 kB / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.861e-05/0.1833, allocations: 0 / 0.6666 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.766e-05/0.1833, allocations: 11.92 kB / 0.6667 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.367e-05/0.1834, allocations: 8 kB / 0.6667 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.273e-05/0.1834, allocations: 8 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.1839, allocations: 343.3 kB / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.729e-06/0.1839, allocations: 0 / 0.667 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.458e-05/0.1839, allocations: 15.92 kB / 0.667 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.1842, allocations: 143.5 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.1842, allocations: 4 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1842, allocations: 0 / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1842, allocations: 0 / 0.6671 GB, free: 3.227 MB / 0.4981 GB 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.0004442/0.1847, allocations: 363.1 kB / 0.6675 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1847, allocations: 9.109 kB / 0.6675 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1848, allocations: 8.891 kB / 0.6675 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1849, allocations: 164.4 kB / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1849, allocations: 384 / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.494e-06/0.1849, allocations: 384 / 0.6677 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.185, allocations: 49.56 kB / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.185, allocations: 0 / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.185, allocations: 0 / 0.6677 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.185, allocations: 7.938 kB / 0.6677 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.268e-05/0.1851, allocations: 15.98 kB / 0.6677 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.1854, allocations: 256.9 kB / 0.668 GB, free: 2.23 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.1856, allocations: 46.69 kB / 0.668 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.777e-05/0.1857, allocations: 20.8 kB / 0.668 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1857, allocations: 3.938 kB / 0.6681 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.1857, allocations: 34.55 kB / 0.6681 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1857, allocations: 4 kB / 0.6681 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001773/0.1859, allocations: 61.67 kB / 0.6681 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.186, allocations: 51.41 kB / 0.6682 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.486e-05/0.186, allocations: 101.8 kB / 0.6683 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.1861, allocations: 25.7 kB / 0.6683 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.339e-05/0.1861, allocations: 80.14 kB / 0.6684 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.1861, allocations: 23.83 kB / 0.6684 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.1862, allocations: 13.72 kB / 0.6684 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1863, allocations: 322.8 kB / 0.6687 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.1863, allocations: 7.938 kB / 0.6687 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.2e-05/0.1863, allocations: 25.7 kB / 0.6688 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.316e-05/0.1864, allocations: 25.72 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1864, allocations: 0 / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.548e-05/0.1865, allocations: 57.62 kB / 0.6689 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.1865, allocations: 8.031 kB / 0.6689 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1865, allocations: 0 / 0.6689 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1865, allocations: 4 kB / 0.6689 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.472e-05/0.1866, allocations: 7.984 kB / 0.6689 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1866, allocations: 4 kB / 0.6689 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.1866, allocations: 4.078 kB / 0.6689 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1866, allocations: 4 kB / 0.6689 GB, free: 1.219 MB / 0.4981 GB 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 7.298e-05/0.1867, allocations: 119.1 kB / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1867, allocations: 0 / 0.669 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.1869, allocations: 69.11 kB / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1869, allocations: 0 / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1869, allocations: 0 / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1869, allocations: 0 / 0.6691 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.1871, allocations: 161.6 kB / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1871, allocations: 0 / 0.6692 GB, free: 0.8047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.1871, allocations: 7.938 kB / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1871, allocations: 0 / 0.6692 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1871, allocations: 4 kB / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1871, allocations: 0 / 0.6692 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.1871, allocations: 4 kB / 0.6692 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1873, allocations: 155.4 kB / 0.6694 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.2e-05/0.1873, allocations: 81.58 kB / 0.6695 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.1873, allocations: 7.984 kB / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.744e-05/0.1874, allocations: 0 / 0.6695 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1874, allocations: 4 kB / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.1874, allocations: 0 / 0.6695 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.1874, allocations: 87.2 kB / 0.6696 GB, free: 436 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 4 kB / 0.6696 GB, free: 432 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002324/0.1877, allocations: 19.88 kB / 0.6696 GB, free: 412 kB / 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.0001948/0.1879, allocations: 123.2 kB / 0.6697 GB, free: 276 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.188, allocations: 27.88 kB / 0.6697 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.188, allocations: 0 / 0.6697 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.141e-05/0.188, allocations: 11.98 kB / 0.6697 GB, free: 236 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.1882, allocations: 5.719 kB / 0.6697 GB, free: 232 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.1885, allocations: 126.5 kB / 0.6699 GB, free: 80 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.1888, allocations: 0.6768 MB / 0.6705 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.797e-05/0.1889, allocations: 8.188 kB / 0.6705 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.1889, allocations: 11.44 kB / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1889, allocations: 0 / 0.6705 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of Templates: time 0.002586/0.1915, allocations: 0.5045 MB / 0.671 GB, free: 14.85 MB / 0.5137 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)