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.00562/0.00562, allocations: 106 kB / 15.74 MB, free: 5.578 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.001244/0.001244, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.379/1.379, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7984/0.7984, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 58.77 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2028, allocations: 80.93 MB / 0.6646 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002684/0.2056, allocations: 1.272 MB / 0.6659 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.2067, allocations: 0.5997 MB / 0.6665 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.2068, allocations: 3.938 kB / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.119e-05/0.2068, allocations: 0 / 0.6665 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.439e-05/0.2069, allocations: 11.92 kB / 0.6665 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.2076, allocations: 139.4 kB / 0.6666 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.006e-05/0.2077, allocations: 15.94 kB / 0.6666 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.811e-05/0.2078, allocations: 8 kB / 0.6666 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.983e-05/0.2078, allocations: 11.92 kB / 0.6666 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.2079, allocations: 7.984 kB / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.2079, allocations: 0 / 0.6667 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005869/0.2085, allocations: 343.3 kB / 0.667 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.931e-05/0.2085, allocations: 4 kB / 0.667 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.2086, allocations: 15.91 kB / 0.667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.2089, allocations: 143.6 kB / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2089, allocations: 0 / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2089, allocations: 0 / 0.6671 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.2089, allocations: 0 / 0.6671 GB, free: 3.191 MB / 0.4981 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.0005352/0.2095, allocations: 367.3 kB / 0.6675 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2095, allocations: 13.11 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.2096, allocations: 0.9375 kB / 0.6675 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.2097, allocations: 160.4 kB / 0.6677 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.2098, allocations: 384 / 0.6677 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.2098, allocations: 4.375 kB / 0.6677 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2099, allocations: 57.5 kB / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.21, allocations: 0 / 0.6677 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.21, allocations: 4 kB / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.852e-06/0.21, allocations: 0 / 0.6677 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.953e-05/0.2101, allocations: 15.98 kB / 0.6677 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003775/0.2104, allocations: 252.8 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.2107, allocations: 50.56 kB / 0.668 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.2107, allocations: 16.86 kB / 0.668 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.2108, allocations: 4 kB / 0.668 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2108, allocations: 38.55 kB / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.352e-06/0.2108, allocations: 0 / 0.6681 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0002166/0.211, allocations: 53.69 kB / 0.6681 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.402e-05/0.2111, allocations: 51.41 kB / 0.6682 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.139e-05/0.2111, allocations: 93.86 kB / 0.6683 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.2112, allocations: 25.7 kB / 0.6683 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.2112, allocations: 96.08 kB / 0.6684 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.54e-05/0.2113, allocations: 15.78 kB / 0.6684 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.141e-05/0.2113, allocations: 21.66 kB / 0.6684 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2114, allocations: 314.8 kB / 0.6687 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.2115, allocations: 15.94 kB / 0.6687 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.338e-05/0.2115, allocations: 21.7 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.573e-05/0.2116, allocations: 30.09 kB / 0.6688 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2116, allocations: 4 kB / 0.6688 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001017/0.2117, allocations: 65.56 kB / 0.6689 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2117, allocations: 8 kB / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2117, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2117, allocations: 0 / 0.6689 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.44e-05/0.2118, allocations: 11.98 kB / 0.6689 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2118, allocations: 3.984 kB / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.445e-05/0.2118, allocations: 0 / 0.6689 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.2119, allocations: 4 kB / 0.6689 GB, free: 1.176 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 8.568e-05/0.2119, allocations: 115.1 kB / 0.669 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.212, allocations: 7.938 kB / 0.669 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.2121, allocations: 61.17 kB / 0.6691 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.2121, allocations: 4 kB / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2121, allocations: 0 / 0.6691 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2122, allocations: 3.938 kB / 0.6691 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.2123, allocations: 157.6 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2123, allocations: 0 / 0.6692 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.2124, allocations: 8 kB / 0.6692 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.2124, allocations: 4 kB / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.543e-06/0.2124, allocations: 0 / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2124, allocations: 0 / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2124, allocations: 0 / 0.6692 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.2125, allocations: 159.3 kB / 0.6694 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.575e-05/0.2126, allocations: 85.05 kB / 0.6695 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.2126, allocations: 3.984 kB / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.2127, allocations: 0 / 0.6695 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.2127, allocations: 4 kB / 0.6695 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2127, allocations: 4 kB / 0.6695 GB, free: 476 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.2127, allocations: 79.28 kB / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2128, allocations: 0 / 0.6695 GB, free: 396 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002549/0.213, allocations: 20 kB / 0.6696 GB, free: 376 kB / 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.0001952/0.2132, allocations: 115.2 kB / 0.6697 GB, free: 248 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001059/0.2133, allocations: 27.88 kB / 0.6697 GB, free: 220 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2133, allocations: 4.062 kB / 0.6697 GB, free: 216 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.16e-05/0.2134, allocations: 15.98 kB / 0.6697 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.2136, allocations: 4 kB / 0.6697 GB, free: 196 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003343/0.2139, allocations: 126.5 kB / 0.6698 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.2142, allocations: 0.6806 MB / 0.6705 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.2143, allocations: 11.94 kB / 0.6705 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.2143, allocations: 11.44 kB / 0.6705 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.2143, allocations: 0 / 0.6705 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.002537/0.2168, allocations: 0.5087 MB / 0.671 GB, free: 14.8 MB / 0.5137 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)