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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.002975/0.002976, allocations: 180.9 kB / 7.651 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.305/1.305, allocations: 133.6 MB / 141.6 MB, free: 2.891 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.422/2.422, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.00146/0.00146, allocations: 104.1 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.901e-05/3.903e-05, allocations: 4 kB / 0.5536 GB, free: 8.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.757/0.757, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2466/1.004, allocations: 111.4 MB / 0.7427 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002844/1.004, allocations: 75.95 kB / 0.7428 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01252/1.017, allocations: 4.051 MB / 0.7467 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.274e-06/1.017, allocations: 0 / 0.7467 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.093e-05/1.017, allocations: 0 / 0.7467 GB, free: 7.105 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004612/1.017, allocations: 342.5 kB / 0.7471 GB, free: 6.727 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/1.017, allocations: 8.031 kB / 0.7471 GB, free: 6.719 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/1.017, allocations: 7.906 kB / 0.7471 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/1.018, allocations: 167 kB / 0.7472 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/1.018, allocations: 0 / 0.7472 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/1.018, allocations: 4 kB / 0.7472 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.091e-05/1.018, allocations: 11.94 kB / 0.7473 GB, free: 6.492 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/1.018, allocations: 37.67 kB / 0.7473 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1.018, allocations: 4 kB / 0.7473 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.018, allocations: 0 / 0.7473 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/1.018, allocations: 0 / 0.7473 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/1.018, allocations: 146.1 kB / 0.7474 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/1.018, allocations: 38.61 kB / 0.7475 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.116e-05/1.018, allocations: 16.86 kB / 0.7475 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.96e-05/1.018, allocations: 0 / 0.7475 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/1.018, allocations: 34.5 kB / 0.7475 GB, free: 6.156 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/1.018, allocations: 4 kB / 0.7475 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0006547/1.019, allocations: 274.4 kB / 0.7478 GB, free: 5.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/1.019, allocations: 59.34 kB / 0.7478 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/1.019, allocations: 89 kB / 0.7479 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/1.019, allocations: 33.64 kB / 0.748 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/1.019, allocations: 80.14 kB / 0.748 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/1.019, allocations: 23.64 kB / 0.7481 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/1.019, allocations: 0 / 0.7481 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.02, allocations: 318.8 kB / 0.7484 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.328e-05/1.02, allocations: 8 kB / 0.7484 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.215e-05/1.02, allocations: 11.98 kB / 0.7484 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.192e-05/1.02, allocations: 11.95 kB / 0.7484 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/1.02, allocations: 0 / 0.7484 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001035/1.02, allocations: 65.67 kB / 0.7485 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.02, allocations: 6.031 kB / 0.7485 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/1.02, allocations: 0 / 0.7485 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/1.02, allocations: 0 / 0.7485 GB, free: 5.098 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.849e-05/1.02, allocations: 15.92 kB / 0.7485 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.02, allocations: 8 kB / 0.7485 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.995e-05/1.02, allocations: 0 / 0.7485 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/1.02, allocations: 0 / 0.7485 GB, free: 5.074 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 (7): * Single equations (assignments): 7 * 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 0.0001062/1.02, allocations: 104.9 kB / 0.7486 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.489e-05/1.02, allocations: 57.59 kB / 0.7486 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.278e-06/1.02, allocations: 4 kB / 0.7486 GB, free: 4.898 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/1.02, allocations: 74.02 kB / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/1.02, allocations: 0 / 0.7487 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.02, allocations: 4 kB / 0.7487 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.02, allocations: 0 / 0.7487 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/1.021, allocations: 284.2 kB / 0.749 GB, free: 4.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.021, allocations: 4 kB / 0.749 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.958e-05/1.021, allocations: 11.94 kB / 0.749 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.021, allocations: 4.312 kB / 0.749 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/1.021, allocations: 4 kB / 0.749 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/1.021, allocations: 0 / 0.749 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/1.021, allocations: 0 / 0.749 GB, free: 4.469 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/1.021, allocations: 190 kB / 0.7492 GB, free: 4.258 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.8e-05/1.021, allocations: 85.12 kB / 0.7493 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/1.021, allocations: 0 / 0.7493 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/1.021, allocations: 7.984 kB / 0.7493 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/1.021, allocations: 4 kB / 0.7493 GB, free: 4.145 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/1.021, allocations: 4.016 kB / 0.7493 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.031e-05/1.021, allocations: 83.28 kB / 0.7494 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.676e-06/1.021, allocations: 0 / 0.7494 GB, free: 4.059 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002899/1.022, allocations: 27.92 kB / 0.7494 GB, free: 4.031 MB / 0.5261 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 () * 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 (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.0008601/1.023, allocations: 0.8149 MB / 0.7502 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001085/1.023, allocations: 27.94 kB / 0.7502 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/1.023, allocations: 7.938 kB / 0.7502 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/1.023, allocations: 15.98 kB / 0.7502 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/1.023, allocations: 7.953 kB / 0.7503 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007285/1.024, allocations: 187 kB / 0.7504 GB, free: 2.902 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000405/1.024, allocations: 0.6807 MB / 0.7511 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.057e-05/1.024, allocations: 8.375 kB / 0.7511 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.504e-05/1.024, allocations: 15.44 kB / 0.7511 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of SimCode: time 4.71e-07/1.024, allocations: 0 / 0.7511 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02437/1.049, allocations: 1.03 MB / 0.7521 GB, free: 1.156 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/1.049, allocations: 183.4 kB / 0.7523 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.358/3.407, allocations: 0 / 0.7523 GB, free: 0.9531 MB / 0.5261 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/linux/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)