Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.0008235/0.0008239, allocations: 91.84 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.0009371/0.0009371, 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.348/1.348, allocations: 223.3 MB / 240 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8945/0.8945, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 12.22 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1521, allocations: 82.31 MB / 0.5875 GB, free: 2.863 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001134/0.1533, allocations: 0.9672 MB / 0.5884 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007946/0.1541, allocations: 0.5354 MB / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.712e-05/0.1541, allocations: 0 / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1541, allocations: 0 / 0.5889 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.461e-05/0.1542, allocations: 3.984 kB / 0.5889 GB, free: 1.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000387/0.1546, allocations: 118.6 kB / 0.589 GB, free: 1.227 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.737e-05/0.1546, allocations: 11.88 kB / 0.5891 GB, free: 1.215 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.1547, allocations: 3.984 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.552e-05/0.1547, allocations: 8 kB / 0.5891 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.1547, allocations: 7.938 kB / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.1547, allocations: 0 / 0.5891 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004565/0.1552, allocations: 331.4 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.545e-06/0.1552, allocations: 3.938 kB / 0.5894 GB, free: 0.8672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.1553, allocations: 29.7 kB / 0.5894 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.1554, allocations: 96.11 kB / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1554, allocations: 0 / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1554, allocations: 0 / 0.5895 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.427e-06/0.1554, allocations: 0 / 0.5895 GB, free: 0.7383 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.0003314/0.1558, allocations: 355.2 kB / 0.5899 GB, free: 352 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1558, allocations: 8.031 kB / 0.5899 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.623e-05/0.1559, allocations: 34.55 kB / 0.5899 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.896e-05/0.1559, allocations: 4 kB / 0.5899 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.156, allocations: 167 kB / 0.5901 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.156, allocations: 3.984 kB / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.156, allocations: 0 / 0.5901 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.524e-05/0.1561, allocations: 33.64 kB / 0.5901 GB, free: 44 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.1561, allocations: 7.938 kB / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.091e-06/0.1561, allocations: 0 / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1561, allocations: 0 / 0.5901 GB, free: 36 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.249e-05/0.1562, allocations: 7.984 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1563, allocations: 153.6 kB / 0.5903 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.634e-05/0.1564, allocations: 26.59 kB / 0.5903 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.1564, allocations: 12.92 kB / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.1564, allocations: 0 / 0.5903 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.1565, allocations: 34.56 kB / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1565, allocations: 0 / 0.5903 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001184/0.1566, allocations: 41.64 kB / 0.5904 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.1566, allocations: 55.41 kB / 0.5904 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.1567, allocations: 93.84 kB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.1567, allocations: 25.7 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.677e-05/0.1568, allocations: 84.39 kB / 0.5906 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1568, allocations: 11.91 kB / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.1568, allocations: 0 / 0.5906 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.1569, allocations: 310.8 kB / 0.5909 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.1569, allocations: 4 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-06/0.1569, allocations: 0 / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.53e-05/0.1569, allocations: 4 kB / 0.5909 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.157, allocations: 7.938 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.709e-05/0.157, allocations: 45.58 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.157, allocations: 8.094 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.157, allocations: 0 / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1571, allocations: 4 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.1572, allocations: 11.98 kB / 0.591 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003338/0.1575, allocations: 0.586 MB / 0.5916 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.1576, allocations: 0 / 0.5916 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.1576, allocations: 3.953 kB / 0.5916 GB, free: 14.38 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 6.632e-05/0.1577, allocations: 117.9 kB / 0.5917 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.977e-06/0.1577, allocations: 7.906 kB / 0.5917 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1578, allocations: 44.81 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1578, allocations: 0 / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1578, allocations: 0 / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1578, allocations: 3.938 kB / 0.5917 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.828e-05/0.1579, allocations: 153.6 kB / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1579, allocations: 0 / 0.5919 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.946e-05/0.158, allocations: 16.02 kB / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.158, allocations: 0 / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.158, allocations: 0 / 0.5919 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002957/0.1583, allocations: 0.5821 MB / 0.5925 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.1583, allocations: 3.953 kB / 0.5925 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.872e-05/0.1584, allocations: 73.25 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.1584, allocations: 77.11 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-06/0.1585, allocations: 0 / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.347e-05/0.1585, allocations: 0 / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.443e-05/0.1585, allocations: 3.953 kB / 0.5926 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.1585, allocations: 4 kB / 0.5926 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.745e-05/0.1585, allocations: 75.28 kB / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1585, allocations: 0 / 0.5927 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001883/0.1587, allocations: 11.94 kB / 0.5927 GB, free: 13.09 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.0003473/0.1591, allocations: 0.6165 MB / 0.5933 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.1592, allocations: 15.98 kB / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1592, allocations: 0 / 0.5933 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1593, allocations: 24.02 kB / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001277/0.1595, allocations: 0 / 0.5934 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.1599, allocations: 144.7 kB / 0.5935 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1601, allocations: 0.677 MB / 0.5942 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.418e-05/0.1601, allocations: 4 kB / 0.5942 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.734e-05/0.1601, allocations: 11.5 kB / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1601, allocations: 0 / 0.5942 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01187/0.172, allocations: 1.147 MB / 0.5953 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001803/0.1722, allocations: 245.2 kB / 0.5955 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/1.78, allocations: 0 / 0.5955 GB, free: 10.32 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: