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.00118/0.00118, 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.001133/0.001133, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9101/0.9101, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 69.02 kB / 0.5054 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1427, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.0026/0.1453, allocations: 1.271 MB / 0.5857 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1464, allocations: 0.6165 MB / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.49e-05/0.1464, allocations: 0 / 0.5863 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.1464, allocations: 7.938 kB / 0.5863 GB, free: 2.551 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.513e-05/0.1465, allocations: 7.938 kB / 0.5863 GB, free: 2.543 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005971/0.1471, allocations: 150.2 kB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.822e-05/0.1472, allocations: 27.92 kB / 0.5865 GB, free: 2.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.1472, allocations: 3.984 kB / 0.5865 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.483e-05/0.1472, allocations: 11.94 kB / 0.5865 GB, free: 2.355 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.574e-05/0.1473, allocations: 15.97 kB / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1473, allocations: 0 / 0.5865 GB, free: 2.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.1478, allocations: 343.3 kB / 0.5869 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.1479, allocations: 11.92 kB / 0.5869 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.828e-05/0.1479, allocations: 19.92 kB / 0.5869 GB, free: 1.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.1482, allocations: 143.9 kB / 0.587 GB, free: 1.832 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1482, allocations: 4 kB / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1482, allocations: 0 / 0.587 GB, free: 1.828 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1482, allocations: 0 / 0.587 GB, free: 1.828 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003913/0.1486, allocations: 371.3 kB / 0.5874 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.1486, allocations: 8.031 kB / 0.5874 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.543e-05/0.1487, allocations: 38.73 kB / 0.5874 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.1487, allocations: 4.938 kB / 0.5874 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1488, allocations: 176.2 kB / 0.5876 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.1488, allocations: 4.375 kB / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.1488, allocations: 384 / 0.5876 GB, free: 1.145 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.149, allocations: 53.62 kB / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.149, allocations: 0 / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.149, allocations: 0 / 0.5877 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.149, allocations: 4 kB / 0.5877 GB, free: 1.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.939e-05/0.1491, allocations: 15.98 kB / 0.5877 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.1492, allocations: 177.6 kB / 0.5879 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.542e-05/0.1493, allocations: 62.5 kB / 0.5879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.1494, allocations: 28.84 kB / 0.5879 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1494, allocations: 3.938 kB / 0.5879 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.1494, allocations: 34.56 kB / 0.588 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.216e-06/0.1494, allocations: 3.984 kB / 0.588 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001092/0.1505, allocations: 0.5762 MB / 0.5885 GB, free: 24 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.1506, allocations: 55.41 kB / 0.5886 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.274e-05/0.1507, allocations: 97.95 kB / 0.5887 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.1507, allocations: 29.64 kB / 0.5887 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.972e-05/0.1507, allocations: 84.27 kB / 0.5888 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.144e-05/0.1508, allocations: 43.39 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.1508, allocations: 25.7 kB / 0.5889 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.763e-05/0.1509, allocations: 318.8 kB / 0.5892 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.563e-05/0.151, allocations: 31.92 kB / 0.5892 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.722e-05/0.151, allocations: 19.98 kB / 0.5892 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.1511, allocations: 60.73 kB / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1511, allocations: 0 / 0.5893 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001449/0.1513, allocations: 89.59 kB / 0.5894 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.1513, allocations: 12 kB / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1513, allocations: 0 / 0.5894 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1513, allocations: 3.984 kB / 0.5894 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.1514, allocations: 23.94 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1514, allocations: 4 kB / 0.5894 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.1515, allocations: 4 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/0.1515, allocations: 4 kB / 0.5894 GB, free: 15.08 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 7.527e-05/0.1516, allocations: 117.8 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.583e-05/0.1516, allocations: 4 kB / 0.5895 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001867/0.1518, allocations: 109.4 kB / 0.5896 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1518, allocations: 4 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1518, allocations: 0 / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1518, allocations: 3.938 kB / 0.5896 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003718/0.1522, allocations: 354.4 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1522, allocations: 0 / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.1523, allocations: 23.92 kB / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.1523, allocations: 0 / 0.59 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1523, allocations: 12 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.1523, allocations: 3.984 kB / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1524, allocations: 0 / 0.59 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/0.1526, allocations: 218.9 kB / 0.5902 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.1526, allocations: 89.05 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.1527, allocations: 0 / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.625e-05/0.1527, allocations: 4 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.1528, allocations: 3.984 kB / 0.5903 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.1528, allocations: 16 kB / 0.5903 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.1528, allocations: 79.28 kB / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1528, allocations: 0 / 0.5904 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002654/0.1531, allocations: 32 kB / 0.5904 GB, free: 13.92 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.0005552/0.1537, allocations: 0.7879 MB / 0.5912 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000148/0.1538, allocations: 71.86 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1538, allocations: 0 / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.928e-05/0.1539, allocations: 35.92 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.1541, allocations: 14.23 kB / 0.5913 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.1555, allocations: 1.493 MB / 0.5928 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.1557, allocations: 0.6885 MB / 0.5935 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.207e-05/0.1558, allocations: 11.94 kB / 0.5935 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.1558, allocations: 15.44 kB / 0.5935 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1558, allocations: 0 / 0.5935 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.1742, allocations: 2.021 MB / 0.5955 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.439/9.613, allocations: 10.55 kB / 0.5955 GB, free: 8.797 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)