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.001116/0.001116, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001235/0.001235, allocations: 168.7 kB / 15.95 MB, free: 204 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.369/1.369, allocations: 223.2 MB / 240 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 1.017/1.017, allocations: 135.3 MB / 426.4 MB, free: 14.08 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003469, allocations: 12.61 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1645, allocations: 82.3 MB / 0.5874 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001382/0.1659, allocations: 1.002 MB / 0.5883 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009626/0.1669, allocations: 0.5394 MB / 0.5889 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.475e-05/0.167, allocations: 4 kB / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.541e-05/0.167, allocations: 0 / 0.5889 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.144e-05/0.1671, allocations: 15.91 kB / 0.5889 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004768/0.1675, allocations: 111.6 kB / 0.589 GB, free: 1.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.1676, allocations: 23.92 kB / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.1677, allocations: 0 / 0.589 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.273e-05/0.1677, allocations: 7.938 kB / 0.589 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.557e-05/0.1678, allocations: 7.984 kB / 0.589 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1678, allocations: 7.984 kB / 0.589 GB, free: 1.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004785/0.1683, allocations: 335.3 kB / 0.5894 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.138e-05/0.1683, allocations: 4 kB / 0.5894 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.143e-05/0.1683, allocations: 29.64 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1685, allocations: 108 kB / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1685, allocations: 0 / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1686, allocations: 0 / 0.5895 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1686, allocations: 0 / 0.5895 GB, free: 0.8008 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.0005003/0.1691, allocations: 347.3 kB / 0.5898 GB, free: 424 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1691, allocations: 12.03 kB / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.1692, allocations: 7.906 kB / 0.5899 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1693, allocations: 167 kB / 0.59 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1693, allocations: 8 kB / 0.59 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.859e-06/0.1694, allocations: 0 / 0.59 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.1695, allocations: 41.69 kB / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1695, allocations: 0 / 0.5901 GB, free: 140 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1695, allocations: 3.938 kB / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1695, allocations: 0 / 0.5901 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.026e-05/0.1696, allocations: 15.94 kB / 0.5901 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.17, allocations: 256.9 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1703, allocations: 46.69 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.599e-05/0.1703, allocations: 20.84 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.1703, allocations: 0 / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.1704, allocations: 34.56 kB / 0.5904 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 2.725e-06/0.1704, allocations: 4 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002038/0.1706, allocations: 57.62 kB / 0.5905 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.1706, allocations: 51.41 kB / 0.5905 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.1708, allocations: 106 kB / 0.5906 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.1708, allocations: 25.7 kB / 0.5907 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.1708, allocations: 92.03 kB / 0.5907 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1709, allocations: 11.75 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.1709, allocations: 0 / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.171, allocations: 326.7 kB / 0.5911 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.971e-05/0.1711, allocations: 7.984 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.1711, allocations: 21.72 kB / 0.5911 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/0.1711, allocations: 11.94 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1711, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.91e-05/0.1712, allocations: 53.69 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1713, allocations: 4 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1713, allocations: 0 / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1713, allocations: 4.031 kB / 0.5912 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.1713, allocations: 15.92 kB / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.1714, allocations: 0 / 0.5912 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.12e-05/0.1714, allocations: 8 kB / 0.5912 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.1714, allocations: 0 / 0.5912 GB, free: 14.85 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 0.0001071/0.1715, allocations: 113.8 kB / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1715, allocations: 0 / 0.5913 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.1717, allocations: 69.06 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1717, allocations: 4 kB / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1717, allocations: 0 / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1717, allocations: 0 / 0.5914 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.1719, allocations: 161.6 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1719, allocations: 4 kB / 0.5915 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.172, allocations: 7.938 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.172, allocations: 0 / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.172, allocations: 4 kB / 0.5915 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/0.1721, allocations: 151.4 kB / 0.5917 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.527e-05/0.1722, allocations: 85.09 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.1722, allocations: 0 / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.282e-05/0.1723, allocations: 0 / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.1723, allocations: 0 / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1723, allocations: 4 kB / 0.5918 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.102e-05/0.1723, allocations: 75.28 kB / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1724, allocations: 0 / 0.5918 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002664/0.1726, allocations: 35.92 kB / 0.5919 GB, free: 14.05 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.000173/0.1728, allocations: 119.1 kB / 0.592 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.669e-05/0.1729, allocations: 20.47 kB / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1729, allocations: 0 / 0.592 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.097e-05/0.1729, allocations: 15.98 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.1731, allocations: 3.953 kB / 0.592 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.1734, allocations: 136.5 kB / 0.5921 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.1737, allocations: 0.6809 MB / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.804e-05/0.1737, allocations: 0 / 0.5928 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.1737, allocations: 11.44 kB / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1737, allocations: 0 / 0.5928 GB, free: 13 MB / 0.4981 GB Notification: Performance of Templates: time 0.002517/0.1762, allocations: 497.8 kB / 0.5933 GB, free: 12.52 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)