Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007502/0.007502, allocations: 98.22 kB / 15.73 MB, free: 6.008 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.001856/0.001856, allocations: 198.5 kB / 16.68 MB, free: 5.934 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9172/0.9172, allocations: 135.6 MB / 426.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 60.5 kB / 0.5857 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 81.03 MB / 0.6649 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002311/0.1649, allocations: 1.242 MB / 0.6661 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1659, allocations: 0.5919 MB / 0.6667 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.449e-05/0.1659, allocations: 0 / 0.6667 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.619e-05/0.166, allocations: 3.938 kB / 0.6667 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.006e-05/0.166, allocations: 4 kB / 0.6667 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004746/0.1665, allocations: 142.1 kB / 0.6668 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.806e-05/0.1666, allocations: 11.94 kB / 0.6668 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.659e-05/0.1666, allocations: 4 kB / 0.6668 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.973e-05/0.1666, allocations: 4 kB / 0.6668 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.84e-05/0.1667, allocations: 7.922 kB / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.058e-05/0.1667, allocations: 0 / 0.6668 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005416/0.1673, allocations: 343.3 kB / 0.6671 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1673, allocations: 7.984 kB / 0.6672 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.54e-05/0.1673, allocations: 0 / 0.6672 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1676, allocations: 139.8 kB / 0.6673 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1676, allocations: 4 kB / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1676, allocations: 0 / 0.6673 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.036e-06/0.1676, allocations: 8 kB / 0.6673 GB, free: 3.141 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003946/0.168, allocations: 347.1 kB / 0.6676 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.168, allocations: 13.05 kB / 0.6676 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.403e-05/0.1681, allocations: 30.75 kB / 0.6677 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.943e-05/0.1681, allocations: 0.9375 kB / 0.6677 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1683, allocations: 176.3 kB / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.666e-06/0.1683, allocations: 384 / 0.6678 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-06/0.1683, allocations: 4.125 kB / 0.6678 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001064/0.1684, allocations: 33.7 kB / 0.6679 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.603e-06/0.1684, allocations: 0 / 0.6679 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.1684, allocations: 3.938 kB / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1684, allocations: 0 / 0.6679 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.567e-05/0.1685, allocations: 4 kB / 0.6679 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.1686, allocations: 153.7 kB / 0.668 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.647e-05/0.1687, allocations: 22.52 kB / 0.6681 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.343e-05/0.1687, allocations: 12.86 kB / 0.6681 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1688, allocations: 8 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1688, allocations: 30.56 kB / 0.6681 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1688, allocations: 3.938 kB / 0.6681 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.1689, allocations: 45.62 kB / 0.6682 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/0.169, allocations: 55.41 kB / 0.6682 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.169, allocations: 89.86 kB / 0.6683 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.1691, allocations: 25.95 kB / 0.6683 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.1691, allocations: 84.14 kB / 0.6684 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1691, allocations: 15.94 kB / 0.6684 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1692, allocations: 9.719 kB / 0.6684 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1693, allocations: 314.8 kB / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.166e-05/0.1693, allocations: 0 / 0.6687 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.789e-06/0.1694, allocations: 4 kB / 0.6687 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.1694, allocations: 16.86 kB / 0.6687 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1694, allocations: 4.062 kB / 0.6687 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.176e-05/0.1695, allocations: 49.56 kB / 0.6688 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.1695, allocations: 4 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1695, allocations: 0 / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1695, allocations: 4 kB / 0.6688 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.1697, allocations: 4 kB / 0.6688 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/0.1701, allocations: 0.586 MB / 0.6694 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.1701, allocations: 4.125 kB / 0.6694 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1701, allocations: 3.938 kB / 0.6694 GB, free: 0.7539 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.727e-05/0.1702, allocations: 105.8 kB / 0.6695 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1702, allocations: 7.984 kB / 0.6695 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.1703, allocations: 48.75 kB / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.1703, allocations: 0 / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1703, allocations: 0 / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1704, allocations: 0 / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.1705, allocations: 161.6 kB / 0.6697 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1705, allocations: 3.984 kB / 0.6697 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.1706, allocations: 8 kB / 0.6697 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1706, allocations: 0 / 0.6697 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.1706, allocations: 0 / 0.6697 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003987/0.171, allocations: 0.5937 MB / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.171, allocations: 0 / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.434e-05/0.1711, allocations: 69.2 kB / 0.6703 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.164e-05/0.1711, allocations: 81.05 kB / 0.6704 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.1712, allocations: 11.86 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.1712, allocations: 0 / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1712, allocations: 0 / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1712, allocations: 4 kB / 0.6704 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.1713, allocations: 83.31 kB / 0.6705 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1713, allocations: 0 / 0.6705 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001962/0.1715, allocations: 8 kB / 0.6705 GB, free: 15.45 MB / 0.5137 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00044/0.1719, allocations: 0.6162 MB / 0.6711 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001571/0.1721, allocations: 24.11 kB / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/0.1721, allocations: 0 / 0.6712 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.523e-05/0.1722, allocations: 12 kB / 0.6712 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1723, allocations: 3.984 kB / 0.6712 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.1727, allocations: 135.5 kB / 0.6713 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.1731, allocations: 0.6729 MB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.554e-05/0.1731, allocations: 4.125 kB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.079e-05/0.1731, allocations: 7.438 kB / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1731, allocations: 0 / 0.672 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1966, allocations: 1.375 MB / 0.6733 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.53, allocations: 3.562 kB / 0.6733 GB, free: 12.68 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)