Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001302/0.001302, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.303/1.303, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9021/0.9021, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 72.19 kB / 0.5055 GB, free: 5.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1348, allocations: 80.93 MB / 0.5845 GB, free: 4.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002448/0.1373, allocations: 1.257 MB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009777/0.1383, allocations: 0.6126 MB / 0.5863 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.593e-05/0.1383, allocations: 4 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.886e-05/0.1383, allocations: 3.984 kB / 0.5863 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.784e-05/0.1384, allocations: 3.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005805/0.139, allocations: 143.4 kB / 0.5865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.476e-05/0.139, allocations: 15.94 kB / 0.5865 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.204e-05/0.1391, allocations: 15.98 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.049e-05/0.1391, allocations: 4 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.069e-05/0.1392, allocations: 7.938 kB / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.1392, allocations: 0 / 0.5865 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005108/0.1397, allocations: 347.3 kB / 0.5868 GB, free: 2.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.373e-05/0.1397, allocations: 7.984 kB / 0.5868 GB, free: 2.012 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.1397, allocations: 7.938 kB / 0.5868 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.14, allocations: 147.9 kB / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.14, allocations: 0 / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.14, allocations: 0 / 0.587 GB, free: 1.859 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.14, allocations: 4 kB / 0.587 GB, free: 1.855 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003876/0.1404, allocations: 363.3 kB / 0.5873 GB, free: 1.453 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1405, allocations: 12.03 kB / 0.5873 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.1405, allocations: 30.75 kB / 0.5874 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.479e-05/0.1405, allocations: 0.9375 kB / 0.5874 GB, free: 1.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.1406, allocations: 168.4 kB / 0.5875 GB, free: 1.199 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1407, allocations: 4.359 kB / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.1407, allocations: 384 / 0.5875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.432e-05/0.1408, allocations: 45.58 kB / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1408, allocations: 4 kB / 0.5876 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1408, allocations: 3.984 kB / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1408, allocations: 0 / 0.5876 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.622e-05/0.1409, allocations: 8 kB / 0.5876 GB, free: 1.129 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.141, allocations: 161.6 kB / 0.5878 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.1412, allocations: 42.55 kB / 0.5878 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.145e-05/0.1412, allocations: 20.94 kB / 0.5878 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1413, allocations: 11.94 kB / 0.5878 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.1413, allocations: 34.56 kB / 0.5879 GB, free: 0.793 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.1413, allocations: 3.938 kB / 0.5879 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005744/0.1419, allocations: 306.2 kB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.1419, allocations: 51.41 kB / 0.5882 GB, free: 384 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.644e-05/0.142, allocations: 101.8 kB / 0.5883 GB, free: 272 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.142, allocations: 37.64 kB / 0.5883 GB, free: 228 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.1421, allocations: 80.14 kB / 0.5884 GB, free: 144 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.1421, allocations: 15.72 kB / 0.5884 GB, free: 128 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.1421, allocations: 25.7 kB / 0.5885 GB, free: 96 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1423, allocations: 310.8 kB / 0.5887 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.793e-05/0.1423, allocations: 15.98 kB / 0.5888 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.281e-05/0.1423, allocations: 11.98 kB / 0.5888 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.607e-05/0.1424, allocations: 32.8 kB / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1424, allocations: 0 / 0.5888 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001002/0.1425, allocations: 73.62 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.1425, allocations: 4 kB / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1425, allocations: 0 / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.1425, allocations: 0 / 0.5889 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.297e-05/0.1426, allocations: 12 kB / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.1426, allocations: 240 / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.1426, allocations: 0 / 0.5889 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.1426, allocations: 7.984 kB / 0.5889 GB, free: 15.62 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 (7): * Single equations (assignments): 7 * 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.635e-05/0.1427, allocations: 117.7 kB / 0.589 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.1427, allocations: 8 kB / 0.589 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/0.1429, allocations: 69.64 kB / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1429, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1429, allocations: 0 / 0.5891 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1429, allocations: 3.984 kB / 0.5891 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.1432, allocations: 319.3 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1432, allocations: 4 kB / 0.5894 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.1433, allocations: 8 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1433, allocations: 4.031 kB / 0.5894 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.155e-06/0.1433, allocations: 4.188 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1433, allocations: 4 kB / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1433, allocations: 0 / 0.5894 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.1435, allocations: 184.2 kB / 0.5896 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.935e-05/0.1436, allocations: 85.12 kB / 0.5897 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.1436, allocations: 3.938 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.166e-05/0.1437, allocations: 8.062 kB / 0.5897 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.1437, allocations: 4 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.1437, allocations: 4 kB / 0.5897 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.408e-05/0.1437, allocations: 83.2 kB / 0.5898 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1437, allocations: 4 kB / 0.5898 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00025/0.144, allocations: 23.94 kB / 0.5898 GB, free: 14.58 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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 (6): * Single equations (assignments): 6 * 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.0004715/0.1445, allocations: 0.734 MB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.849e-05/0.1446, allocations: 35.88 kB / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1446, allocations: 0 / 0.5906 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.1446, allocations: 19.98 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.1449, allocations: 4 kB / 0.5906 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.146, allocations: 1.327 MB / 0.5919 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002231/0.1462, allocations: 0.6807 MB / 0.5925 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.056e-05/0.1463, allocations: 12.05 kB / 0.5925 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.1463, allocations: 11.44 kB / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1463, allocations: 0 / 0.5926 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02649/0.1728, allocations: 1.562 MB / 0.5941 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.738/8.911, allocations: 12.23 kB / 0.5941 GB, free: 10.2 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)