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.007067/0.007067, allocations: 99.98 kB / 15.73 MB, free: 6.016 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.001817/0.001817, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.358/1.358, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.827/0.827, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 65.75 kB / 0.5813 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1564, allocations: 80.2 MB / 0.6597 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002048/0.1585, allocations: 1.275 MB / 0.6609 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.1594, allocations: 0.6035 MB / 0.6615 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.1595, allocations: 3.938 kB / 0.6615 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.1595, allocations: 4 kB / 0.6615 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.558e-05/0.1596, allocations: 7.938 kB / 0.6615 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.16, allocations: 143.4 kB / 0.6617 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.904e-05/0.1601, allocations: 15.92 kB / 0.6617 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.774e-05/0.1602, allocations: 8 kB / 0.6617 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.1602, allocations: 4 kB / 0.6617 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.761e-05/0.1602, allocations: 11.92 kB / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1603, allocations: 0 / 0.6617 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.1607, allocations: 351.3 kB / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.929e-06/0.1607, allocations: 0 / 0.662 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.1608, allocations: 11.94 kB / 0.662 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002379/0.161, allocations: 151.5 kB / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.161, allocations: 0 / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.161, allocations: 0 / 0.6622 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.161, allocations: 0 / 0.6622 GB, free: 7.699 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.0003872/0.1614, allocations: 363 kB / 0.6625 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.1615, allocations: 12.02 kB / 0.6625 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.1615, allocations: 8.938 kB / 0.6625 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.462e-05/0.1616, allocations: 160.4 kB / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.1616, allocations: 384 / 0.6627 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1616, allocations: 4.375 kB / 0.6627 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1617, allocations: 45.62 kB / 0.6627 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1618, allocations: 0 / 0.6627 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1618, allocations: 4 kB / 0.6628 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.1618, allocations: 0 / 0.6628 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.728e-05/0.1618, allocations: 19.86 kB / 0.6628 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.1621, allocations: 256.9 kB / 0.663 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.1623, allocations: 42.62 kB / 0.6631 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.1624, allocations: 16.86 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.1624, allocations: 7.984 kB / 0.6631 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.1624, allocations: 34.56 kB / 0.6631 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1625, allocations: 7.938 kB / 0.6631 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4): time 0.0001643/0.1626, allocations: 61.58 kB / 0.6632 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.1627, allocations: 51.41 kB / 0.6632 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.645e-05/0.1627, allocations: 97.84 kB / 0.6633 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.1627, allocations: 25.7 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.1628, allocations: 84.14 kB / 0.6634 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.1628, allocations: 15.84 kB / 0.6634 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.1628, allocations: 21.7 kB / 0.6635 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.163, allocations: 318.8 kB / 0.6638 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.87e-05/0.163, allocations: 4 kB / 0.6638 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.163, allocations: 25.83 kB / 0.6638 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.134e-05/0.1631, allocations: 37.66 kB / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1631, allocations: 0 / 0.6638 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.161e-05/0.1632, allocations: 53.62 kB / 0.6639 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1632, allocations: 8 kB / 0.6639 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1632, allocations: 4.031 kB / 0.6639 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1632, allocations: 0 / 0.6639 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.733e-05/0.1633, allocations: 12 kB / 0.6639 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1633, allocations: 3.984 kB / 0.6639 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.418e-05/0.1633, allocations: 3.953 kB / 0.6639 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.1633, allocations: 4 kB / 0.6639 GB, free: 5.688 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.471e-05/0.1634, allocations: 110.7 kB / 0.664 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.1634, allocations: 4 kB / 0.664 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1635, allocations: 65.12 kB / 0.6641 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1636, allocations: 4 kB / 0.6641 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1636, allocations: 0 / 0.6641 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1636, allocations: 3.984 kB / 0.6641 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.1637, allocations: 161.6 kB / 0.6642 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1637, allocations: 0 / 0.6642 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.1638, allocations: 8 kB / 0.6643 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1638, allocations: 3.938 kB / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1638, allocations: 0 / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1638, allocations: 0 / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1638, allocations: 0 / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1639, allocations: 159.9 kB / 0.6644 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.164, allocations: 81.11 kB / 0.6645 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.164, allocations: 3.938 kB / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.807e-05/0.164, allocations: 0 / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.1641, allocations: 4.031 kB / 0.6645 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1641, allocations: 7.984 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.918e-05/0.1641, allocations: 75.28 kB / 0.6646 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1641, allocations: 4 kB / 0.6646 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002431/0.1644, allocations: 31.81 kB / 0.6646 GB, free: 4.867 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.000156/0.1645, allocations: 111.2 kB / 0.6647 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.305e-05/0.1646, allocations: 27.92 kB / 0.6647 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1646, allocations: 0 / 0.6647 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.1647, allocations: 19.92 kB / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.1649, allocations: 4.031 kB / 0.6648 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002579/0.1651, allocations: 122.6 kB / 0.6649 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.1654, allocations: 0.6807 MB / 0.6655 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.825e-05/0.1654, allocations: 4.234 kB / 0.6656 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.1654, allocations: 11.44 kB / 0.6656 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1654, allocations: 0 / 0.6656 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of Templates: time 0.002365/0.1678, allocations: 0.5031 MB / 0.6661 GB, free: 3.336 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)