Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.0007577/0.0007577, allocations: 92.23 kB / 15.36 MB, free: 0.7383 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.004527/0.004527, allocations: 169.8 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9149/0.9149, allocations: 135.3 MB / 426.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 8 kB / 0.5077 GB, free: 4.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1322, allocations: 82.3 MB / 0.5881 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001157/0.1334, allocations: 0.9945 MB / 0.5891 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1344, allocations: 0.6285 MB / 0.5897 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.418e-05/0.1344, allocations: 3.938 kB / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.235e-05/0.1344, allocations: 0 / 0.5897 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.829e-05/0.1345, allocations: 7.969 kB / 0.5897 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004241/0.1349, allocations: 122.6 kB / 0.5898 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.234e-05/0.135, allocations: 31.84 kB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.135, allocations: 4 kB / 0.5898 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.437e-05/0.135, allocations: 15.98 kB / 0.5898 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.593e-05/0.1351, allocations: 11.92 kB / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1351, allocations: 0 / 0.5899 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.1356, allocations: 347.3 kB / 0.5902 GB, free: 336 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.298e-05/0.1356, allocations: 7.938 kB / 0.5902 GB, free: 328 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.403e-05/0.1356, allocations: 37.64 kB / 0.5902 GB, free: 284 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.1358, allocations: 152 kB / 0.5904 GB, free: 132 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1358, allocations: 0 / 0.5904 GB, free: 132 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1359, allocations: 4 kB / 0.5904 GB, free: 128 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.1359, allocations: 0 / 0.5904 GB, free: 128 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003575/0.1362, allocations: 363.4 kB / 0.5907 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.1363, allocations: 8.031 kB / 0.5907 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.167e-05/0.1363, allocations: 38.69 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.118e-05/0.1363, allocations: 0.9375 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.1364, allocations: 176.2 kB / 0.5909 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1364, allocations: 4.375 kB / 0.5909 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1365, allocations: 8.375 kB / 0.591 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1366, allocations: 49.62 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1366, allocations: 4 kB / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.1366, allocations: 0 / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1366, allocations: 0 / 0.591 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.782e-05/0.1367, allocations: 23.92 kB / 0.591 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.1368, allocations: 169.6 kB / 0.5912 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.74e-05/0.1369, allocations: 58.55 kB / 0.5912 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.133e-05/0.137, allocations: 28.86 kB / 0.5913 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/0.137, allocations: 7.938 kB / 0.5913 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.137, allocations: 34.55 kB / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.137, allocations: 0 / 0.5913 GB, free: 15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001023/0.1381, allocations: 0.584 MB / 0.5919 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.1381, allocations: 63.33 kB / 0.5919 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.591e-05/0.1382, allocations: 89.86 kB / 0.592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1382, allocations: 33.7 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.599e-05/0.1382, allocations: 80.14 kB / 0.5921 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.1383, allocations: 39.39 kB / 0.5922 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.1383, allocations: 17.72 kB / 0.5922 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.781e-05/0.1384, allocations: 323 kB / 0.5925 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.946e-05/0.1384, allocations: 16 kB / 0.5925 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1385, allocations: 27.98 kB / 0.5925 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.947e-05/0.1386, allocations: 64.72 kB / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.1386, allocations: 0 / 0.5926 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000141/0.1387, allocations: 93.59 kB / 0.5927 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.1388, allocations: 7.938 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.1388, allocations: 0 / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1388, allocations: 4 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.901e-05/0.1389, allocations: 19.98 kB / 0.5927 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1389, allocations: 4 kB / 0.5927 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.1389, allocations: 4 kB / 0.5927 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.1389, allocations: 4 kB / 0.5927 GB, free: 13.39 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.949e-05/0.139, allocations: 117.8 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.255e-05/0.139, allocations: 4 kB / 0.5928 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.1392, allocations: 102.2 kB / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.1392, allocations: 0 / 0.5929 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1392, allocations: 4 kB / 0.5929 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1393, allocations: 4 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003509/0.1396, allocations: 365.9 kB / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1396, allocations: 0 / 0.5933 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.1397, allocations: 23.98 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1397, allocations: 3.984 kB / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1398, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1398, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1398, allocations: 0 / 0.5933 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.14, allocations: 219.4 kB / 0.5935 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.185e-05/0.14, allocations: 81.02 kB / 0.5936 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1401, allocations: 15.95 kB / 0.5936 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.1402, allocations: 4 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.1402, allocations: 4.094 kB / 0.5936 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.908e-06/0.1402, allocations: 15.86 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.097e-05/0.1402, allocations: 79.28 kB / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1402, allocations: 160 / 0.5937 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002636/0.1405, allocations: 36 kB / 0.5938 GB, free: 12.23 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005018/0.141, allocations: 0.7745 MB / 0.5945 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001278/0.1412, allocations: 63.91 kB / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1412, allocations: 0 / 0.5946 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.1412, allocations: 32 kB / 0.5946 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.1415, allocations: 15.94 kB / 0.5946 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.1428, allocations: 1.544 MB / 0.5961 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000201/0.143, allocations: 0.6888 MB / 0.5968 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.143, allocations: 19.91 kB / 0.5968 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1431, allocations: 19.44 kB / 0.5968 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.1431, allocations: 0 / 0.5968 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4085/0.5516, allocations: 1.828 MB / 0.5986 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002072/0.5518, allocations: 231.6 kB / 0.5989 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.02, allocations: 4 kB / 0.5989 GB, free: 7.074 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)