Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.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.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.001056/0.001056, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.00108/0.00108, allocations: 176.7 kB / 15.95 MB, free: 192 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.368/1.368, allocations: 223.3 MB / 240 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9466/0.9466, allocations: 135.3 MB / 426.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003052/0.0003053, allocations: 8.719 kB / 0.5071 GB, free: 5.023 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1473, allocations: 82.32 MB / 0.5875 GB, free: 2.879 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001422/0.1487, allocations: 1.169 MB / 0.5886 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008654/0.1496, allocations: 0.5766 MB / 0.5892 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.637e-05/0.1497, allocations: 4 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.676e-05/0.1497, allocations: 3.984 kB / 0.5892 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.039e-05/0.1497, allocations: 7.922 kB / 0.5892 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004415/0.1502, allocations: 131.6 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1502, allocations: 47.83 kB / 0.5894 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.1503, allocations: 4 kB / 0.5894 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.257e-05/0.1504, allocations: 23.92 kB / 0.5894 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.082e-05/0.1504, allocations: 23.91 kB / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.1504, allocations: 0 / 0.5894 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00046/0.1509, allocations: 339.3 kB / 0.5897 GB, free: 0.543 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.648e-05/0.1509, allocations: 15.97 kB / 0.5898 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.1509, allocations: 33.64 kB / 0.5898 GB, free: 500 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.1511, allocations: 123.9 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1511, allocations: 4 kB / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1511, allocations: 0 / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.467e-06/0.1512, allocations: 0 / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005322/0.1517, allocations: 391.2 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.1517, allocations: 8.031 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.1518, allocations: 34.56 kB / 0.5903 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.1518, allocations: 11.91 kB / 0.5903 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.1519, allocations: 175 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.152, allocations: 4 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.152, allocations: 15.92 kB / 0.5905 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.1522, allocations: 81.53 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1522, allocations: 0 / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.1523, allocations: 0 / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1523, allocations: 4 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1525, allocations: 59.95 kB / 0.5907 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.153, allocations: 332.6 kB / 0.591 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.1533, allocations: 82.53 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1534, allocations: 33 kB / 0.5911 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.1534, allocations: 11.97 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.1534, allocations: 34.56 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.1535, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001499/0.155, allocations: 0.6772 MB / 0.5918 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.989e-05/0.155, allocations: 55.41 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.883e-05/0.1551, allocations: 97.86 kB / 0.5919 GB, free: 14 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1551, allocations: 25.7 kB / 0.592 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.1551, allocations: 96.03 kB / 0.5921 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.265e-05/0.1552, allocations: 35.45 kB / 0.5921 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.475e-06/0.1552, allocations: 4 kB / 0.5921 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.1553, allocations: 314.8 kB / 0.5924 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.1554, allocations: 39.97 kB / 0.5924 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1555, allocations: 31.98 kB / 0.5925 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.1557, allocations: 44.11 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1557, allocations: 3.938 kB / 0.5925 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.156, allocations: 121.6 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.156, allocations: 7.953 kB / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.156, allocations: 0 / 0.5926 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.156, allocations: 7.938 kB / 0.5926 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.1562, allocations: 31.97 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.1562, allocations: 7.984 kB / 0.5927 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.1563, allocations: 4 kB / 0.5927 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1563, allocations: 8 kB / 0.5927 GB, free: 13.21 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.1564, allocations: 109.8 kB / 0.5928 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1564, allocations: 7.906 kB / 0.5928 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.1568, allocations: 147.6 kB / 0.5929 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.1568, allocations: 4 kB / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1568, allocations: 0 / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1568, allocations: 0 / 0.5929 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005312/0.1573, allocations: 390.7 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1573, allocations: 3.938 kB / 0.5933 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001417/0.1575, allocations: 31.94 kB / 0.5933 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1575, allocations: 4.078 kB / 0.5934 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1575, allocations: 15.94 kB / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1575, allocations: 0 / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1575, allocations: 0 / 0.5934 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.158, allocations: 263.4 kB / 0.5936 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.158, allocations: 81.09 kB / 0.5937 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.1581, allocations: 3.953 kB / 0.5937 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.1582, allocations: 12.06 kB / 0.5937 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1582, allocations: 11.92 kB / 0.5937 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.1582, allocations: 8 kB / 0.5937 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.1583, allocations: 75.28 kB / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1583, allocations: 0 / 0.5938 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002723/0.1585, allocations: 43.98 kB / 0.5938 GB, free: 11.91 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007743/0.1593, allocations: 0.8214 MB / 0.5946 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.1596, allocations: 95.94 kB / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1596, allocations: 0 / 0.5947 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.1598, allocations: 47.92 kB / 0.5948 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.16, allocations: 15.94 kB / 0.5948 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.1613, allocations: 0.7551 MB / 0.5955 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.1616, allocations: 0.6887 MB / 0.5962 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.689e-05/0.1616, allocations: 12.67 kB / 0.5962 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.715e-05/0.1617, allocations: 27.42 kB / 0.5962 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1617, allocations: 0 / 0.5962 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.1743, allocations: 2.056 MB / 0.5983 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.1745, allocations: 226.1 kB / 0.5985 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/1.894, allocations: 4.062 kB / 0.5985 GB, free: 7.277 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: