Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.00557/0.00557, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001254/0.001254, allocations: 197.9 kB / 16.67 MB, free: 5.926 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7352/0.7352, allocations: 132.2 MB / 422.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 67.22 kB / 0.5809 GB, free: 1.086 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1824, allocations: 80.21 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002186/0.1846, allocations: 1.278 MB / 0.6604 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009806/0.1856, allocations: 0.6176 MB / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.1857, allocations: 0 / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.1857, allocations: 0 / 0.661 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.972e-05/0.1857, allocations: 3.938 kB / 0.6611 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1863, allocations: 161.5 kB / 0.6612 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.371e-05/0.1864, allocations: 27.92 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.303e-05/0.1864, allocations: 4 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.587e-05/0.1864, allocations: 19.91 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.626e-05/0.1865, allocations: 11.94 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1865, allocations: 0 / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004665/0.187, allocations: 347.3 kB / 0.6616 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.187, allocations: 7.984 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.187, allocations: 7.938 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.1873, allocations: 163.3 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1873, allocations: 0 / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1873, allocations: 0 / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.1873, allocations: 4 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB 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.0003759/0.1877, allocations: 359.5 kB / 0.6621 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1877, allocations: 12.03 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.165e-05/0.1878, allocations: 34.75 kB / 0.6622 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.1878, allocations: 8.844 kB / 0.6622 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1879, allocations: 164.3 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.823e-06/0.1879, allocations: 384 / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1879, allocations: 20.05 kB / 0.6623 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.1881, allocations: 53.62 kB / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1881, allocations: 0 / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.1881, allocations: 0 / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.1881, allocations: 0 / 0.6624 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.99e-05/0.1881, allocations: 19.98 kB / 0.6624 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.1883, allocations: 165.6 kB / 0.6626 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.1884, allocations: 58.5 kB / 0.6626 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.208e-05/0.1885, allocations: 36.78 kB / 0.6627 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.1885, allocations: 4 kB / 0.6627 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.1885, allocations: 38.8 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.1885, allocations: 0 / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001037/0.1896, allocations: 0.5791 MB / 0.6633 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.1896, allocations: 63.34 kB / 0.6633 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.1897, allocations: 97.84 kB / 0.6634 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1897, allocations: 29.7 kB / 0.6635 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.107e-05/0.1897, allocations: 84.14 kB / 0.6635 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.1898, allocations: 39.44 kB / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1898, allocations: 25.72 kB / 0.6636 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.19, allocations: 318.8 kB / 0.6639 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.116e-05/0.19, allocations: 24.12 kB / 0.6639 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.725e-05/0.1901, allocations: 23.98 kB / 0.6639 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1902, allocations: 58.8 kB / 0.664 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1902, allocations: 3.984 kB / 0.664 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001461/0.1903, allocations: 93.69 kB / 0.6641 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.1903, allocations: 8 kB / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1904, allocations: 0 / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1904, allocations: 0 / 0.6641 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1905, allocations: 19.98 kB / 0.6641 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1905, allocations: 4 kB / 0.6641 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.1905, allocations: 4 kB / 0.6641 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.1905, allocations: 3.938 kB / 0.6641 GB, free: 8.57 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 9.057e-05/0.1906, allocations: 122.4 kB / 0.6642 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.1907, allocations: 11.91 kB / 0.6643 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001898/0.1908, allocations: 101.6 kB / 0.6644 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1909, allocations: 8.078 kB / 0.6644 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.1909, allocations: 3.938 kB / 0.6644 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1909, allocations: 0 / 0.6644 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.1913, allocations: 354.5 kB / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1913, allocations: 0 / 0.6647 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.1914, allocations: 23.98 kB / 0.6647 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1914, allocations: 0 / 0.6647 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.1914, allocations: 4 kB / 0.6647 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.1914, allocations: 4 kB / 0.6647 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1914, allocations: 7.875 kB / 0.6647 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.1917, allocations: 211.4 kB / 0.6649 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.386e-05/0.1917, allocations: 85.2 kB / 0.665 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.1917, allocations: 0 / 0.665 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.1918, allocations: 7.984 kB / 0.665 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.1919, allocations: 7.938 kB / 0.665 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-06/0.1919, allocations: 4 kB / 0.665 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.069e-05/0.1919, allocations: 79.27 kB / 0.6651 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1919, allocations: 0 / 0.6651 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002483/0.1922, allocations: 39.94 kB / 0.6652 GB, free: 7.398 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.0005542/0.1927, allocations: 0.7861 MB / 0.6659 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001412/0.1929, allocations: 63.91 kB / 0.666 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1929, allocations: 3.938 kB / 0.666 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.674e-05/0.1929, allocations: 32 kB / 0.666 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1931, allocations: 7.938 kB / 0.666 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.1945, allocations: 1.502 MB / 0.6675 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.1947, allocations: 0.6846 MB / 0.6682 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.766e-05/0.1948, allocations: 15.97 kB / 0.6682 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.515e-05/0.1948, allocations: 19.44 kB / 0.6682 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1948, allocations: 4 kB / 0.6682 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01769/0.2125, allocations: 2.078 MB / 0.6702 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.434/7.647, allocations: 9.766 kB / 0.6702 GB, free: 2.25 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)