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.001187/0.001187, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001454/0.001454, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9956/0.9956, allocations: 135.3 MB / 426.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8 kB / 0.5071 GB, free: 5.031 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1588, allocations: 82.32 MB / 0.5875 GB, free: 2.883 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001216/0.1601, allocations: 0.9556 MB / 0.5884 GB, free: 1.91 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008558/0.161, allocations: 0.5432 MB / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.161, allocations: 0 / 0.5889 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.128e-05/0.161, allocations: 3.938 kB / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.075e-05/0.1611, allocations: 0 / 0.5889 GB, free: 1.363 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1615, allocations: 119.6 kB / 0.5891 GB, free: 1.246 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.753e-05/0.1615, allocations: 7.938 kB / 0.5891 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.352e-05/0.1616, allocations: 4 kB / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1616, allocations: 0 / 0.5891 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.1616, allocations: 4 kB / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.397e-06/0.1616, allocations: 0 / 0.5891 GB, free: 1.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.1621, allocations: 339.3 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.622e-06/0.1621, allocations: 0 / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.451e-05/0.1622, allocations: 25.7 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1624, allocations: 104.1 kB / 0.5895 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1624, allocations: 3.938 kB / 0.5895 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1624, allocations: 0 / 0.5895 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.426e-06/0.1624, allocations: 0 / 0.5895 GB, free: 0.7617 MB / 494.1 MB 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.0003358/0.1627, allocations: 355.2 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1628, allocations: 8.031 kB / 0.5899 GB, free: 368 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.292e-05/0.1628, allocations: 30.56 kB / 0.5899 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.1628, allocations: 4 kB / 0.5899 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.163, allocations: 171 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-06/0.163, allocations: 4 kB / 0.5901 GB, free: 108 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.163, allocations: 3.938 kB / 0.5901 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.839e-05/0.1631, allocations: 37.69 kB / 0.5901 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.1631, allocations: 0 / 0.5901 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.1631, allocations: 0 / 0.5901 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-06/0.1631, allocations: 0 / 0.5901 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.1631, allocations: 7.938 kB / 0.5901 GB, free: 52 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1633, allocations: 153.6 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.485e-05/0.1634, allocations: 26.61 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.1634, allocations: 8.859 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.1634, allocations: 4.062 kB / 0.5903 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.1634, allocations: 34.56 kB / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.1634, allocations: 0 / 0.5903 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001274/0.1636, allocations: 41.62 kB / 0.5904 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.1636, allocations: 51.41 kB / 0.5904 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.022e-05/0.1637, allocations: 102 kB / 0.5905 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1637, allocations: 25.7 kB / 0.5905 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.035e-05/0.1637, allocations: 80.14 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.1638, allocations: 7.906 kB / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.1638, allocations: 0 / 0.5906 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1639, allocations: 318.8 kB / 0.5909 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.138e-05/0.1639, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.166e-06/0.164, allocations: 4 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.524e-05/0.164, allocations: 4.188 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.164, allocations: 0 / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.065e-05/0.1641, allocations: 41.64 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1641, allocations: 4 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1641, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.1641, allocations: 3.984 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1642, allocations: 12 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000528/0.1648, allocations: 0.5822 MB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.928e-05/0.1648, allocations: 3.953 kB / 0.5916 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.1648, allocations: 4.031 kB / 0.5916 GB, free: 14.41 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.526e-05/0.1649, allocations: 109.8 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-06/0.1649, allocations: 3.906 kB / 0.5917 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001009/0.165, allocations: 52.69 kB / 0.5917 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.165, allocations: 8.109 kB / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1651, allocations: 0 / 0.5917 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1651, allocations: 4 kB / 0.5917 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.1652, allocations: 149.6 kB / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1652, allocations: 0 / 0.5919 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.033e-05/0.1653, allocations: 11.98 kB / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1653, allocations: 0 / 0.5919 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.1653, allocations: 7.938 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003268/0.1656, allocations: 0.586 MB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1656, allocations: 3.938 kB / 0.5925 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.818e-05/0.1657, allocations: 61.16 kB / 0.5925 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.1658, allocations: 77.11 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.125e-05/0.1658, allocations: 4 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.377e-05/0.1658, allocations: 0 / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.555e-05/0.1658, allocations: 3.953 kB / 0.5926 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1658, allocations: 12.11 kB / 0.5926 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.1659, allocations: 79.28 kB / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1659, allocations: 0 / 0.5927 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001997/0.1661, allocations: 15.94 kB / 0.5927 GB, free: 13.1 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004308/0.1665, allocations: 0.6087 MB / 0.5933 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001484/0.1667, allocations: 15.98 kB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1667, allocations: 0 / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.005e-05/0.1668, allocations: 19.98 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.1669, allocations: 3.953 kB / 0.5934 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.1675, allocations: 148.8 kB / 0.5935 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.1681, allocations: 0.6731 MB / 0.5942 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.106e-05/0.1682, allocations: 0 / 0.5942 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.1682, allocations: 7.438 kB / 0.5942 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1682, allocations: 4 kB / 0.5942 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.1801, allocations: 1.135 MB / 0.5953 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/0.1803, allocations: 244.4 kB / 0.5955 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.616/1.797, allocations: 0 / 0.5955 GB, free: 10.39 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1) Environment - environmentSimulation: