Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001853/0.001853, 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.372/1.372, allocations: 133.6 MB / 141.6 MB, free: 2.926 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.581/2.581, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001232/0.001232, allocations: 97.55 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.238e-05/3.249e-05, allocations: 4 kB / 0.5536 GB, free: 8.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8589/0.859, allocations: 82.3 MB / 0.6339 GB, free: 40.81 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2336/1.093, allocations: 111.3 MB / 0.7426 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003595/1.093, allocations: 83.94 kB / 0.7427 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01519/1.108, allocations: 2.858 MB / 0.7455 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.817e-06/1.108, allocations: 0 / 0.7455 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.711e-05/1.109, allocations: 4 kB / 0.7455 GB, free: 8.508 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.0007347/1.109, allocations: 350.4 kB / 0.7458 GB, free: 8.121 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 9.954e-05/1.109, allocations: 8.031 kB / 0.7458 GB, free: 8.113 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/1.109, allocations: 7.906 kB / 0.7458 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/1.11, allocations: 171 kB / 0.746 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/1.11, allocations: 0 / 0.746 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.105e-05/1.11, allocations: 0 / 0.746 GB, free: 7.898 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001311/1.11, allocations: 8 kB / 0.746 GB, free: 7.891 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/1.11, allocations: 37.69 kB / 0.746 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/1.11, allocations: 0 / 0.746 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/1.11, allocations: 3.938 kB / 0.746 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/1.11, allocations: 4 kB / 0.746 GB, free: 7.84 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/1.111, allocations: 142.2 kB / 0.7462 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/1.111, allocations: 42.55 kB / 0.7462 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/1.111, allocations: 12.86 kB / 0.7462 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/1.111, allocations: 4 kB / 0.7462 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/1.111, allocations: 30.56 kB / 0.7463 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.633e-06/1.111, allocations: 0 / 0.7463 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0009065/1.112, allocations: 286.3 kB / 0.7465 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/1.112, allocations: 51.41 kB / 0.7466 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/1.112, allocations: 92.98 kB / 0.7467 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/1.112, allocations: 25.7 kB / 0.7467 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/1.112, allocations: 84.14 kB / 0.7468 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.191e-05/1.112, allocations: 15.72 kB / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/1.112, allocations: 0 / 0.7468 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001914/1.113, allocations: 318.8 kB / 0.7471 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/1.113, allocations: 16 kB / 0.7471 GB, free: 6.594 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.924e-05/1.113, allocations: 4 kB / 0.7471 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/1.113, allocations: 15.95 kB / 0.7471 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/1.113, allocations: 0 / 0.7471 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/1.113, allocations: 65.61 kB / 0.7472 GB, free: 6.504 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.432e-05/1.113, allocations: 8 kB / 0.7472 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/1.113, allocations: 0 / 0.7472 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.113, allocations: 0 / 0.7472 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/1.113, allocations: 8 kB / 0.7472 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/1.113, allocations: 240 / 0.7472 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.348e-05/1.113, allocations: 7.984 kB / 0.7472 GB, free: 6.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.113, allocations: 8.062 kB / 0.7472 GB, free: 6.473 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.0001171/1.113, allocations: 104.9 kB / 0.7473 GB, free: 6.363 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001407/1.114, allocations: 69.52 kB / 0.7474 GB, free: 6.289 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/1.114, allocations: 7.938 kB / 0.7474 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000209/1.114, allocations: 58.09 kB / 0.7475 GB, free: 6.219 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.114, allocations: 4 kB / 0.7475 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/1.114, allocations: 0 / 0.7475 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/1.114, allocations: 0 / 0.7475 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004883/1.114, allocations: 287.9 kB / 0.7477 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/1.114, allocations: 3.938 kB / 0.7477 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/1.114, allocations: 15.98 kB / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.114, allocations: 0 / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/1.115, allocations: 0 / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/1.115, allocations: 4 kB / 0.7478 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.115, allocations: 0 / 0.7478 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/1.115, allocations: 194 kB / 0.7479 GB, free: 5.648 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.323e-05/1.115, allocations: 81.09 kB / 0.748 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/1.115, allocations: 4.031 kB / 0.748 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/1.115, allocations: 0 / 0.748 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/1.115, allocations: 4 kB / 0.748 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/1.115, allocations: 8.188 kB / 0.748 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.647e-05/1.115, allocations: 79.34 kB / 0.7481 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.115, allocations: 4 kB / 0.7481 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004735/1.116, allocations: 27.94 kB / 0.7481 GB, free: 5.426 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0009685/1.117, allocations: 0.8113 MB / 0.7489 GB, free: 4.578 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001409/1.117, allocations: 32.06 kB / 0.749 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/1.117, allocations: 0 / 0.749 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.364e-05/1.117, allocations: 19.94 kB / 0.749 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/1.117, allocations: 4.562 kB / 0.749 GB, free: 4.523 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008083/1.118, allocations: 175 kB / 0.7492 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/1.119, allocations: 0.6885 MB / 0.7498 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.921e-05/1.119, allocations: 4 kB / 0.7498 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/1.119, allocations: 19.38 kB / 0.7499 GB, free: 3.582 MB / 0.5261 GB Notification: Performance of SimCode: time 3.81e-07/1.119, allocations: 3.938 kB / 0.7499 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/1.157, allocations: 1.045 MB / 0.7509 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.157, allocations: 184.1 kB / 0.7511 GB, free: 2.367 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.595, allocations: 0 / 0.7511 GB, free: 2.367 MB / 0.5261 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)