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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001289/0.001289, allocations: 106.7 kB / 16.41 MB, free: 6.473 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.001107/0.001107, allocations: 187 kB / 17.34 MB, free: 5.754 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8123/0.8123, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002347/0.002347, allocations: 63.59 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2074, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002594/0.21, allocations: 1.271 MB / 0.6616 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001039/0.2111, allocations: 0.6112 MB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.963e-05/0.2111, allocations: 0 / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.2112, allocations: 0 / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.55e-05/0.2112, allocations: 7.922 kB / 0.6622 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006097/0.2118, allocations: 140.9 kB / 0.6623 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.2119, allocations: 19.94 kB / 0.6623 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.212, allocations: 4 kB / 0.6623 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.739e-05/0.212, allocations: 7.984 kB / 0.6623 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.2121, allocations: 11.92 kB / 0.6624 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2121, allocations: 4 kB / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.2126, allocations: 339.3 kB / 0.6627 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.2126, allocations: 4 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.601e-05/0.2127, allocations: 15.91 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.213, allocations: 147.6 kB / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.213, allocations: 0 / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.213, allocations: 0 / 0.6628 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.213, allocations: 0 / 0.6628 GB, free: 7.68 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.0004663/0.2135, allocations: 363.4 kB / 0.6632 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2135, allocations: 8.031 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.386e-05/0.2136, allocations: 0.9375 kB / 0.6632 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.2137, allocations: 168.3 kB / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.2137, allocations: 384 / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.2137, allocations: 384 / 0.6634 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.2138, allocations: 49.62 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2138, allocations: 0 / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.2139, allocations: 4 kB / 0.6634 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2139, allocations: 8 kB / 0.6634 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.048e-05/0.2139, allocations: 15.92 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.2143, allocations: 252.9 kB / 0.6637 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.2145, allocations: 50.56 kB / 0.6637 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.2146, allocations: 20.84 kB / 0.6637 GB, free: 6.605 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2146, allocations: 4 kB / 0.6637 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2146, allocations: 34.55 kB / 0.6638 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.2146, allocations: 0 / 0.6638 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001975/0.2148, allocations: 61.62 kB / 0.6638 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.2149, allocations: 51.41 kB / 0.6639 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.82e-05/0.215, allocations: 93.86 kB / 0.664 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.288e-05/0.215, allocations: 25.7 kB / 0.664 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.215, allocations: 91.98 kB / 0.6641 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.2151, allocations: 19.88 kB / 0.6641 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.2151, allocations: 21.66 kB / 0.6641 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2152, allocations: 314.8 kB / 0.6644 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.2153, allocations: 8 kB / 0.6644 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.39e-05/0.2153, allocations: 21.7 kB / 0.6645 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.009e-05/0.2154, allocations: 29.66 kB / 0.6645 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2154, allocations: 4 kB / 0.6645 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.635e-05/0.2155, allocations: 65.53 kB / 0.6645 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.2155, allocations: 4 kB / 0.6646 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.2155, allocations: 0 / 0.6646 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2155, allocations: 4 kB / 0.6646 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.2156, allocations: 7.984 kB / 0.6646 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.2156, allocations: 4 kB / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.2156, allocations: 0 / 0.6646 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2156, allocations: 0 / 0.6646 GB, free: 5.676 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.193e-05/0.2157, allocations: 118.7 kB / 0.6647 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.2157, allocations: 0 / 0.6647 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.2159, allocations: 69.11 kB / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.2159, allocations: 0 / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2159, allocations: 0 / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2159, allocations: 0 / 0.6647 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.2161, allocations: 165.5 kB / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2161, allocations: 0 / 0.6649 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.681e-05/0.2161, allocations: 4 kB / 0.6649 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.2161, allocations: 4 kB / 0.6649 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.2162, allocations: 4 kB / 0.6649 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2162, allocations: 4.062 kB / 0.6649 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.2162, allocations: 4 kB / 0.6649 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.2163, allocations: 152 kB / 0.6651 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.2164, allocations: 93 kB / 0.6652 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.2164, allocations: 0 / 0.6652 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.032e-05/0.2164, allocations: 0 / 0.6652 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.2165, allocations: 8 kB / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.2165, allocations: 0 / 0.6652 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.563e-05/0.2165, allocations: 83.28 kB / 0.6652 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2165, allocations: 0 / 0.6652 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00027/0.2168, allocations: 19.98 kB / 0.6653 GB, free: 4.855 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.0002048/0.217, allocations: 115.2 kB / 0.6654 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.4e-05/0.2171, allocations: 19.94 kB / 0.6654 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2171, allocations: 4 kB / 0.6654 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.386e-05/0.2171, allocations: 23.98 kB / 0.6654 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.2174, allocations: 1.719 kB / 0.6654 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003252/0.2177, allocations: 160.2 kB / 0.6656 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.2179, allocations: 0.6806 MB / 0.6662 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.218, allocations: 11.44 kB / 0.6662 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.218, allocations: 0 / 0.6662 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of Templates: time 0.002192/0.2202, allocations: 0.6998 MB / 0.6669 GB, free: 3.082 MB / 0.4981 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)