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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002011/0.002011, allocations: 177 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.261/1.261, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 100.6 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.899e-05/1.902e-05, allocations: 4 kB / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4715, allocations: 82.3 MB / 0.6339 GB, free: 40.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.6184, allocations: 111.5 MB / 0.7428 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.6186, allocations: 83.92 kB / 0.7429 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.6314, allocations: 4.535 MB / 0.7474 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6314, allocations: 0 / 0.7474 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.6314, allocations: 0 / 0.7474 GB, free: 6.527 MB / 0.5261 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.0003181/0.6318, allocations: 358.5 kB / 0.7477 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6318, allocations: 8.031 kB / 0.7477 GB, free: 6.125 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.872e-05/0.6319, allocations: 7.906 kB / 0.7477 GB, free: 6.117 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.632, allocations: 170.9 kB / 0.7479 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.632, allocations: 0 / 0.7479 GB, free: 5.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.104e-05/0.632, allocations: 7.984 kB / 0.7479 GB, free: 5.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.133e-05/0.6321, allocations: 20 kB / 0.7479 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.031e-05/0.6322, allocations: 41.69 kB / 0.7479 GB, free: 5.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.6322, allocations: 7.938 kB / 0.7479 GB, free: 5.828 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.6322, allocations: 4 kB / 0.748 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.6323, allocations: 0 / 0.748 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001483/0.6324, allocations: 138.2 kB / 0.7481 GB, free: 5.652 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.197e-05/0.6325, allocations: 58.5 kB / 0.7481 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.6326, allocations: 28.84 kB / 0.7482 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.6326, allocations: 4 kB / 0.7482 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.6326, allocations: 34.56 kB / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 9.22e-07/0.6326, allocations: 0 / 0.7482 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0008401/0.6335, allocations: 0.5169 MB / 0.7487 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.6335, allocations: 55.39 kB / 0.7488 GB, free: 4.832 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.6336, allocations: 89 kB / 0.7488 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.6336, allocations: 29.83 kB / 0.7489 GB, free: 4.703 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.274e-05/0.6336, allocations: 84.08 kB / 0.749 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.6337, allocations: 39.39 kB / 0.749 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.6337, allocations: 0 / 0.749 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.6338, allocations: 318.8 kB / 0.7493 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.6338, allocations: 20 kB / 0.7493 GB, free: 4.238 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.6339, allocations: 16 kB / 0.7493 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.071e-05/0.6339, allocations: 24.08 kB / 0.7494 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.6339, allocations: 3.938 kB / 0.7494 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001205/0.634, allocations: 92.94 kB / 0.7494 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6341, allocations: 5.562 kB / 0.7495 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.6341, allocations: 0 / 0.7495 GB, free: 4.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.6341, allocations: 7.922 kB / 0.7495 GB, free: 4.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.6342, allocations: 20 kB / 0.7495 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.6342, allocations: 0 / 0.7495 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.6342, allocations: 0 / 0.7495 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.6343, allocations: 4 kB / 0.7495 GB, free: 4.066 MB / 0.5261 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 () * 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 6.452e-05/0.6343, allocations: 104.9 kB / 0.7496 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001094/0.6344, allocations: 89.52 kB / 0.7497 GB, free: 3.863 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-06/0.6345, allocations: 7.938 kB / 0.7497 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.6346, allocations: 89.98 kB / 0.7498 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.6346, allocations: 0 / 0.7498 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.6347, allocations: 3.984 kB / 0.7498 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6347, allocations: 0 / 0.7498 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.635, allocations: 319 kB / 0.7501 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.635, allocations: 0 / 0.7501 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.6351, allocations: 23.98 kB / 0.7501 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.6352, allocations: 4 kB / 0.7501 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.6352, allocations: 4 kB / 0.7501 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.6352, allocations: 0 / 0.7501 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6352, allocations: 0 / 0.7501 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.6354, allocations: 211.7 kB / 0.7503 GB, free: 3.148 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.6354, allocations: 77.11 kB / 0.7504 GB, free: 3.055 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.6355, allocations: 4 kB / 0.7504 GB, free: 3.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.6356, allocations: 4.094 kB / 0.7504 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.045e-05/0.6356, allocations: 15.98 kB / 0.7504 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.6356, allocations: 0 / 0.7504 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.91e-05/0.6356, allocations: 79.28 kB / 0.7505 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6356, allocations: 0 / 0.7505 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002866/0.6359, allocations: 39.92 kB / 0.7505 GB, free: 2.914 MB / 0.5261 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 () * 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.0005506/0.6365, allocations: 0.7918 MB / 0.7513 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.6366, allocations: 48 kB / 0.7513 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6366, allocations: 0 / 0.7513 GB, free: 2.047 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.6367, allocations: 31.94 kB / 0.7514 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001554/0.6368, allocations: 5.891 kB / 0.7514 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.6375, allocations: 273.8 kB / 0.7516 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.6377, allocations: 0.6885 MB / 0.7523 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.299e-05/0.6378, allocations: 12.53 kB / 0.7523 GB, free: 0.9766 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.6378, allocations: 31.3 kB / 0.7523 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of SimCode: time 3.21e-07/0.6378, allocations: 0 / 0.7523 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0199/0.6577, allocations: 1.433 MB / 0.7537 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.658, allocations: 171.3 kB / 0.7539 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.169, allocations: 1.828 kB / 0.7539 GB, free: 15.33 MB / 0.5417 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/linux/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)