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.0009251/0.0009251, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.006307/0.006307, allocations: 169.1 kB / 16.26 MB, free: 6.66 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.323/1.323, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9161/0.9161, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003609, allocations: 15.92 kB / 0.5076 GB, free: 4.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1606, allocations: 82.3 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001352/0.162, allocations: 1.01 MB / 0.589 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.163, allocations: 0.5973 MB / 0.5895 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.163, allocations: 0 / 0.5895 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.1631, allocations: 11.92 kB / 0.5895 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.868e-05/0.1631, allocations: 7.922 kB / 0.5896 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004721/0.1636, allocations: 115.6 kB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.504e-05/0.1637, allocations: 23.92 kB / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.77e-05/0.1637, allocations: 0 / 0.5897 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.963e-05/0.1637, allocations: 4 kB / 0.5897 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.801e-05/0.1638, allocations: 15.92 kB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1638, allocations: 4 kB / 0.5897 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.1643, allocations: 343.3 kB / 0.59 GB, free: 488 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.1643, allocations: 4 kB / 0.59 GB, free: 484 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.1643, allocations: 37.62 kB / 0.5901 GB, free: 440 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.1646, allocations: 143.9 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1646, allocations: 0 / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1646, allocations: 0 / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.1646, allocations: 0 / 0.5902 GB, free: 296 kB / 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.0004042/0.165, allocations: 355.5 kB / 0.5906 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1651, allocations: 12.02 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.1651, allocations: 8.844 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.1652, allocations: 168.4 kB / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.1653, allocations: 384 / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.625e-06/0.1653, allocations: 384 / 0.5907 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.1654, allocations: 45.81 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1654, allocations: 3.938 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.1654, allocations: 0 / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.1654, allocations: 4 kB / 0.5908 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.643e-05/0.1655, allocations: 15.98 kB / 0.5908 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1658, allocations: 256.9 kB / 0.591 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.166, allocations: 42.62 kB / 0.5911 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.166, allocations: 16.86 kB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.166, allocations: 0 / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1661, allocations: 38.5 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1661, allocations: 7.938 kB / 0.5911 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001547/0.1662, allocations: 53.69 kB / 0.5912 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.1663, allocations: 55.41 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.199e-05/0.1663, allocations: 105.7 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.1664, allocations: 25.7 kB / 0.5914 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.1664, allocations: 80.14 kB / 0.5915 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.562e-05/0.1664, allocations: 19.75 kB / 0.5915 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.1665, allocations: 13.7 kB / 0.5915 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.1666, allocations: 322.8 kB / 0.5918 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.1666, allocations: 4 kB / 0.5918 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.1666, allocations: 33.64 kB / 0.5918 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.1667, allocations: 25.72 kB / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1667, allocations: 0 / 0.5919 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.486e-05/0.1668, allocations: 57.62 kB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1668, allocations: 8 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1668, allocations: 32 / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.1668, allocations: 4 kB / 0.5919 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.599e-05/0.1669, allocations: 8.422 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1669, allocations: 3.984 kB / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.1669, allocations: 0 / 0.5919 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1669, allocations: 7.984 kB / 0.5919 GB, free: 14.29 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 6.979e-05/0.167, allocations: 113.8 kB / 0.592 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.167, allocations: 7.906 kB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001365/0.1672, allocations: 65.11 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1672, allocations: 4 kB / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1672, allocations: 0 / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.1672, allocations: 0 / 0.5921 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001538/0.1674, allocations: 161.6 kB / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1674, allocations: 0 / 0.5923 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.92e-05/0.1674, allocations: 11.98 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1674, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.1674, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1674, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1674, allocations: 0 / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.1676, allocations: 155.4 kB / 0.5924 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.978e-05/0.1676, allocations: 77.11 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1676, allocations: 4 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.11e-05/0.1677, allocations: 4 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.1677, allocations: 3.984 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1677, allocations: 3.938 kB / 0.5925 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.1678, allocations: 79.28 kB / 0.5926 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1678, allocations: 4 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002484/0.168, allocations: 27.88 kB / 0.5926 GB, free: 13.48 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 (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.0001634/0.1682, allocations: 115.2 kB / 0.5927 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.278e-05/0.1683, allocations: 27.92 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1683, allocations: 0 / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.866e-05/0.1683, allocations: 8 kB / 0.5928 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.1685, allocations: 10.89 kB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.1688, allocations: 140.6 kB / 0.5929 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.1691, allocations: 0.6809 MB / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.1691, allocations: 0 / 0.5936 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.1691, allocations: 11.44 kB / 0.5936 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of SimCode: time 6.51e-07/0.1691, allocations: 0 / 0.5936 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of Templates: time 0.002429/0.1716, allocations: 496.1 kB / 0.5941 GB, free: 11.95 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)