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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008898/0.008898, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.835/0.835, allocations: 132.3 MB / 148.1 MB, free: 216 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.2 MB / 403.2 MB, free: 6.734 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008368/0.0008368, allocations: 89.14 kB / 485.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006027/0.0006027, allocations: 8 kB / 0.5641 GB, free: 2.148 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3921, allocations: 81.58 MB / 0.6438 GB, free: 39.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1389/0.5311, allocations: 112.8 MB / 0.7539 GB, free: 7.172 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.5314, allocations: 87.94 kB / 0.754 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.5479, allocations: 5.4 MB / 0.7593 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.446e-06/0.5479, allocations: 0 / 0.7593 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.548, allocations: 0 / 0.7593 GB, free: 1.68 MB / 0.5261 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.0004126/0.5484, allocations: 359.2 kB / 0.7596 GB, free: 1.281 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5484, allocations: 8.031 kB / 0.7596 GB, free: 1.273 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.687e-05/0.5485, allocations: 15.86 kB / 0.7597 GB, free: 1.258 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001266/0.5486, allocations: 167 kB / 0.7598 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.5487, allocations: 0 / 0.7598 GB, free: 1.055 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.027e-05/0.5487, allocations: 4 kB / 0.7598 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.5488, allocations: 37.69 kB / 0.7599 GB, free: 1.008 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.5488, allocations: 4 kB / 0.7599 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5488, allocations: 0 / 0.7599 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.5488, allocations: 0 / 0.7599 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.073e-05/0.5489, allocations: 19.94 kB / 0.7599 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.5492, allocations: 256.9 kB / 0.7601 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.5495, allocations: 50.62 kB / 0.7602 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.5495, allocations: 0 / 0.7602 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5495, allocations: 30.56 kB / 0.7602 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.5495, allocations: 0 / 0.7602 GB, free: 0.5859 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0002201/0.5498, allocations: 65.72 kB / 0.7603 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/0.5498, allocations: 55.34 kB / 0.7603 GB, free: 460 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.628e-05/0.5499, allocations: 101 kB / 0.7604 GB, free: 352 kB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.5499, allocations: 25.7 kB / 0.7604 GB, free: 320 kB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.55, allocations: 84.05 kB / 0.7605 GB, free: 232 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.55, allocations: 11.81 kB / 0.7605 GB, free: 220 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.55, allocations: 4 kB / 0.7605 GB, free: 216 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5501, allocations: 314.8 kB / 0.7608 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.5502, allocations: 4 kB / 0.7608 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.222e-05/0.5502, allocations: 25.72 kB / 0.7609 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.597e-05/0.5502, allocations: 8 kB / 0.7609 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5502, allocations: 0 / 0.7609 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.445e-05/0.5503, allocations: 57.56 kB / 0.7609 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5504, allocations: 11.98 kB / 0.7609 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5504, allocations: 0 / 0.7609 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.5504, allocations: 0 / 0.7609 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.021e-05/0.5505, allocations: 15.94 kB / 0.7609 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.5505, allocations: 3.953 kB / 0.7609 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.5505, allocations: 4.031 kB / 0.761 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.5505, allocations: 4 kB / 0.761 GB, free: 15.75 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.5506, allocations: 105.8 kB / 0.7611 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.5506, allocations: 4 kB / 0.7611 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/0.5508, allocations: 69.02 kB / 0.7611 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5508, allocations: 4 kB / 0.7611 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5508, allocations: 0 / 0.7611 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5508, allocations: 4.078 kB / 0.7611 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.551, allocations: 165.6 kB / 0.7613 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.551, allocations: 0 / 0.7613 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.578e-05/0.551, allocations: 8 kB / 0.7613 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.551, allocations: 0 / 0.7613 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.551, allocations: 0 / 0.7613 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5511, allocations: 0 / 0.7613 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.5511, allocations: 0 / 0.7613 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.5512, allocations: 155.4 kB / 0.7614 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.5513, allocations: 81.11 kB / 0.7615 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.5513, allocations: 4 kB / 0.7615 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.614e-05/0.5513, allocations: 0 / 0.7615 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.5514, allocations: 0 / 0.7615 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.5514, allocations: 0 / 0.7615 GB, free: 15.06 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.5514, allocations: 83.8 kB / 0.7616 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5514, allocations: 0 / 0.7616 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002482/0.5517, allocations: 23.98 kB / 0.7616 GB, free: 14.96 MB / 0.5417 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 (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.0002165/0.5519, allocations: 123.2 kB / 0.7617 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.198e-05/0.552, allocations: 28.06 kB / 0.7618 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.552, allocations: 4 kB / 0.7618 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.552, allocations: 8.094 kB / 0.7618 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.5522, allocations: 14.3 kB / 0.7618 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.5525, allocations: 132.7 kB / 0.7619 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.5528, allocations: 0.681 MB / 0.7626 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.523e-05/0.5528, allocations: 4 kB / 0.7626 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.842e-05/0.5528, allocations: 11.44 kB / 0.7626 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of SimCode: time 3.4e-07/0.5528, allocations: 0 / 0.7626 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.002415/0.5553, allocations: 489 kB / 0.7631 GB, free: 13.41 MB / 0.5417 GB 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)