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-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_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.0009655/0.0009655, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009334/0.0009334, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.21/1.21, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8439/0.8439, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002977/0.0002978, allocations: 9.625 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001386/0.1451, allocations: 0.9789 MB / 0.5882 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.1459, allocations: 0.526 MB / 0.5887 GB, free: 1.609 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.676e-05/0.146, allocations: 4 kB / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.4e-05/0.146, allocations: 0 / 0.5887 GB, free: 1.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.1461, allocations: 4 kB / 0.5887 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005286/0.1466, allocations: 119.6 kB / 0.5888 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.596e-05/0.1467, allocations: 19.97 kB / 0.5888 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.1467, allocations: 3.984 kB / 0.5888 GB, free: 1.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.1467, allocations: 4 kB / 0.5888 GB, free: 1.457 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.787e-05/0.1468, allocations: 11.92 kB / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.207e-06/0.1468, allocations: 0 / 0.5888 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.1473, allocations: 355.4 kB / 0.5892 GB, free: 1.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.88e-05/0.1473, allocations: 15.92 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.1473, allocations: 25.7 kB / 0.5892 GB, free: 1.051 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001716/0.1475, allocations: 100.1 kB / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1475, allocations: 0 / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1475, allocations: 4 kB / 0.5893 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.1476, allocations: 0 / 0.5893 GB, free: 0.9492 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.0003567/0.1479, allocations: 355.2 kB / 0.5896 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.148, allocations: 15.95 kB / 0.5897 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.551e-05/0.148, allocations: 4 kB / 0.5897 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1481, allocations: 163 kB / 0.5898 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.1481, allocations: 8 kB / 0.5898 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.1481, allocations: 4 kB / 0.5898 GB, free: 332 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.072e-05/0.1482, allocations: 41.62 kB / 0.5899 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-06/0.1482, allocations: 0 / 0.5899 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1482, allocations: 8 kB / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1483, allocations: 0 / 0.5899 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.934e-05/0.1483, allocations: 11.98 kB / 0.5899 GB, free: 264 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.1486, allocations: 253 kB / 0.5901 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.1488, allocations: 50.56 kB / 0.5902 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1488, allocations: 4 kB / 0.5902 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1489, allocations: 34.5 kB / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1489, allocations: 0 / 0.5902 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001621/0.149, allocations: 57.77 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.1491, allocations: 55.41 kB / 0.5903 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/0.1492, allocations: 101.8 kB / 0.5904 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.1492, allocations: 25.7 kB / 0.5904 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.1492, allocations: 84.12 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.1493, allocations: 19.75 kB / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1493, allocations: 0 / 0.5905 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1494, allocations: 314.8 kB / 0.5908 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.1494, allocations: 11.94 kB / 0.5909 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.078e-05/0.1494, allocations: 21.7 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.071e-05/0.1495, allocations: 12 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1495, allocations: 0 / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8e-05/0.1496, allocations: 57.62 kB / 0.5909 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1496, allocations: 8 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1496, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1496, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.682e-05/0.1497, allocations: 11.98 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.1497, allocations: 0 / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.273e-05/0.1497, allocations: 0 / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1497, allocations: 4.031 kB / 0.591 GB, free: 15.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.292e-05/0.1498, allocations: 117.8 kB / 0.5911 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.1498, allocations: 7.906 kB / 0.5911 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.15, allocations: 61.11 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.15, allocations: 4 kB / 0.5911 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.15, allocations: 3.984 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.15, allocations: 0 / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000152/0.1501, allocations: 157.6 kB / 0.5913 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1501, allocations: 7.938 kB / 0.5913 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.337e-05/0.1502, allocations: 8 kB / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1502, allocations: 0 / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.1502, allocations: 0 / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1502, allocations: 0 / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1502, allocations: 0 / 0.5913 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.1503, allocations: 147.6 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.058e-05/0.1504, allocations: 81.05 kB / 0.5915 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1504, allocations: 8 kB / 0.5915 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.601e-05/0.1505, allocations: 11.98 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1505, allocations: 3.938 kB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.1505, allocations: 0 / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.357e-05/0.1505, allocations: 79.8 kB / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1505, allocations: 0 / 0.5916 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002355/0.1508, allocations: 23.94 kB / 0.5917 GB, free: 14.21 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 (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.0001493/0.1509, allocations: 121.4 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.151, allocations: 32.11 kB / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.151, allocations: 0 / 0.5918 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.151, allocations: 15.92 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000131/0.1512, allocations: 3.953 kB / 0.5918 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002537/0.1514, allocations: 132.6 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1517, allocations: 0.677 MB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.012e-05/0.1517, allocations: 11.97 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.1517, allocations: 11.44 kB / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1517, allocations: 0 / 0.5926 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.002103/0.1538, allocations: 488.1 kB / 0.5931 GB, free: 12.68 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: