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.001024/0.001024, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 195.6 kB / 16.54 MB, free: 6.672 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7192/0.7192, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001304, allocations: 67.42 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3873, allocations: 80.2 MB / 0.5801 GB, free: 4.531 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002211/0.3895, allocations: 1.278 MB / 0.5813 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.3904, allocations: 0.6005 MB / 0.5819 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.3905, allocations: 4.75 kB / 0.5819 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.3905, allocations: 0.6562 kB / 0.5819 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.887e-05/0.3905, allocations: 5.297 kB / 0.5819 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.391, allocations: 148.7 kB / 0.5821 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.3911, allocations: 24.23 kB / 0.5821 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.504e-05/0.3911, allocations: 2.203 kB / 0.5821 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.929e-05/0.3911, allocations: 9.141 kB / 0.5821 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.739e-05/0.3912, allocations: 14.98 kB / 0.5821 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.3912, allocations: 1.031 kB / 0.5821 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005446/0.3917, allocations: 342.1 kB / 0.5825 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.142e-05/0.3918, allocations: 5.328 kB / 0.5825 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.3918, allocations: 8.547 kB / 0.5825 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002572/0.392, allocations: 148.8 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3921, allocations: 0.6562 kB / 0.5826 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.3921, allocations: 4 kB / 0.5826 GB, free: 2.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.417e-06/0.3921, allocations: 0.9375 kB / 0.5826 GB, free: 2.961 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.0002843/0.3924, allocations: 353.1 kB / 0.5829 GB, free: 2.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.3924, allocations: 10.05 kB / 0.583 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.215e-05/0.3924, allocations: 2.031 kB / 0.583 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.349e-05/0.3925, allocations: 170.6 kB / 0.5831 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.3925, allocations: 2.344 kB / 0.5831 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.3925, allocations: 1.312 kB / 0.5831 GB, free: 2.387 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.46e-05/0.3926, allocations: 48.36 kB / 0.5832 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.3926, allocations: 0.5625 kB / 0.5832 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.3926, allocations: 0.7188 kB / 0.5832 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.3926, allocations: 0.6875 kB / 0.5832 GB, free: 2.344 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.332e-05/0.3927, allocations: 19.62 kB / 0.5832 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002313/0.3929, allocations: 248.8 kB / 0.5834 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3931, allocations: 50.62 kB / 0.5835 GB, free: 2.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.238e-05/0.3931, allocations: 18.67 kB / 0.5835 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3932, allocations: 5.109 kB / 0.5835 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.101e-05/0.3932, allocations: 36.2 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.3932, allocations: 0 / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001435/0.3933, allocations: 64.5 kB / 0.5836 GB, free: 1.922 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.3934, allocations: 52.75 kB / 0.5836 GB, free: 1.859 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.3934, allocations: 99.72 kB / 0.5837 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.3934, allocations: 29.7 kB / 0.5838 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.3934, allocations: 82.22 kB / 0.5839 GB, free: 1.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.716e-06/0.3935, allocations: 14.33 kB / 0.5839 GB, free: 1.629 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.3935, allocations: 18.48 kB / 0.5839 GB, free: 1.609 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.3935, allocations: 321.9 kB / 0.5842 GB, free: 1.289 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.691e-05/0.3935, allocations: 8.547 kB / 0.5842 GB, free: 1.285 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.3936, allocations: 21.25 kB / 0.5842 GB, free: 1.266 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.198e-05/0.3936, allocations: 34.45 kB / 0.5842 GB, free: 1.238 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3936, allocations: 0.7812 kB / 0.5843 GB, free: 1.238 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.694e-05/0.3937, allocations: 63.62 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3937, allocations: 5.438 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3937, allocations: 0.5625 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.3938, allocations: 1.094 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.3938, allocations: 9.188 kB / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.3938, allocations: 0 / 0.5843 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.3938, allocations: 11.08 kB / 0.5843 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3938, allocations: 1.375 kB / 0.5843 GB, free: 1.184 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.3939, allocations: 116.8 kB / 0.5844 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.3939, allocations: 6.516 kB / 0.5845 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.394, allocations: 61.28 kB / 0.5845 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.3941, allocations: 1.984 kB / 0.5845 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3941, allocations: 0 / 0.5845 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.694e-06/0.3941, allocations: 0.9062 kB / 0.5845 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.3942, allocations: 162.7 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3942, allocations: 0.875 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.562e-05/0.3942, allocations: 6.734 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3942, allocations: 0.6562 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3942, allocations: 1.031 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3942, allocations: 0 / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3943, allocations: 2.031 kB / 0.5847 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.267e-05/0.3943, allocations: 147.4 kB / 0.5848 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.587e-05/0.3944, allocations: 86.5 kB / 0.5849 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.3944, allocations: 4.781 kB / 0.5849 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.3944, allocations: 4.812 kB / 0.5849 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.611e-05/0.3944, allocations: 3.359 kB / 0.5849 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.3945, allocations: 4.812 kB / 0.5849 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.798e-05/0.3945, allocations: 79.59 kB / 0.585 GB, free: 492 kB / 430.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.3945, allocations: 0 / 0.585 GB, free: 492 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.3947, allocations: 22.06 kB / 0.585 GB, free: 484 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 (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.0001414/0.3949, allocations: 125.7 kB / 0.5851 GB, free: 380 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.508e-05/0.395, allocations: 22.92 kB / 0.5852 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.395, allocations: 0 / 0.5852 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.943e-05/0.395, allocations: 13.17 kB / 0.5852 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001919/0.3952, allocations: 12.91 kB / 0.5852 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.3954, allocations: 121.8 kB / 0.5853 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001865/0.3956, allocations: 0.6802 MB / 0.586 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.907e-05/0.3957, allocations: 7.422 kB / 0.586 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.73e-05/0.3957, allocations: 10.41 kB / 0.586 GB, free: 15.53 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3957, allocations: 0 / 0.586 GB, free: 15.53 MB / 446.1 MB Notification: Performance of Templates: time 0.002284/0.398, allocations: 0.5055 MB / 0.5865 GB, free: 15.45 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)