Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.002263/0.002263, 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 0.9667/0.9667, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.713/1.713, 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.0009265/0.0009263, allocations: 96.53 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.34e-05, allocations: 0 / 0.5536 GB, free: 8.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4952/0.4952, allocations: 82.31 MB / 0.6339 GB, free: 40.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.6517, allocations: 112.2 MB / 0.7435 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.652, allocations: 83.94 kB / 0.7436 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01226/0.6643, allocations: 4.298 MB / 0.7478 GB, free: 6.195 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6643, allocations: 4 kB / 0.7478 GB, free: 6.191 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.6643, allocations: 4 kB / 0.7478 GB, free: 6.188 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004723/0.6648, allocations: 374.2 kB / 0.7481 GB, free: 5.777 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.6649, allocations: 12.02 kB / 0.7481 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.6649, allocations: 4 kB / 0.7481 GB, free: 5.762 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.665, allocations: 174.9 kB / 0.7483 GB, free: 5.551 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.6651, allocations: 7.938 kB / 0.7483 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.6651, allocations: 8 kB / 0.7483 GB, free: 5.535 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.706e-05/0.6652, allocations: 31.98 kB / 0.7484 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.6653, allocations: 57.62 kB / 0.7484 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.6654, allocations: 0 / 0.7484 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.6654, allocations: 4 kB / 0.7484 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6654, allocations: 0 / 0.7484 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.6659, allocations: 305.2 kB / 0.7487 GB, free: 5.102 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.6661, allocations: 58.56 kB / 0.7488 GB, free: 5.035 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.989e-05/0.6661, allocations: 16.86 kB / 0.7488 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.6661, allocations: 0 / 0.7488 GB, free: 5.016 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.6662, allocations: 34.56 kB / 0.7488 GB, free: 4.973 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.6662, allocations: 4 kB / 0.7488 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11): time 0.0008883/0.6671, allocations: 0.5361 MB / 0.7493 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.6671, allocations: 51.41 kB / 0.7494 GB, free: 4.277 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.6672, allocations: 93 kB / 0.7495 GB, free: 4.18 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6672, allocations: 25.7 kB / 0.7495 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.757e-05/0.6673, allocations: 96.03 kB / 0.7496 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.582e-05/0.6673, allocations: 35.45 kB / 0.7496 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-06/0.6673, allocations: 0 / 0.7496 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6675, allocations: 318.8 kB / 0.7499 GB, free: 3.695 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.6675, allocations: 20 kB / 0.7499 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.376e-05/0.6676, allocations: 19.98 kB / 0.75 GB, free: 3.656 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.6676, allocations: 23.12 kB / 0.75 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.6676, allocations: 0 / 0.75 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001327/0.6678, allocations: 93.73 kB / 0.7501 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.6678, allocations: 9.719 kB / 0.7501 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6678, allocations: 0.5469 kB / 0.7501 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6678, allocations: 0 / 0.7501 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.668, allocations: 35.94 kB / 0.7501 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.668, allocations: 0 / 0.7501 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.625e-05/0.6681, allocations: 7.984 kB / 0.7501 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.6681, allocations: 4 kB / 0.7501 GB, free: 3.484 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 8.807e-05/0.6682, allocations: 106.3 kB / 0.7502 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001396/0.6683, allocations: 89.53 kB / 0.7503 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.6684, allocations: 11.89 kB / 0.7503 GB, free: 3.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.6686, allocations: 102 kB / 0.7504 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.6686, allocations: 7.984 kB / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6686, allocations: 0 / 0.7504 GB, free: 3.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.6686, allocations: 3.938 kB / 0.7504 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003493/0.6689, allocations: 323.1 kB / 0.7507 GB, free: 2.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.669, allocations: 4 kB / 0.7507 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.6691, allocations: 27.98 kB / 0.7508 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.6691, allocations: 7.938 kB / 0.7508 GB, free: 2.754 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.6692, allocations: 4 kB / 0.7508 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6692, allocations: 0 / 0.7508 GB, free: 2.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.187e-06/0.6692, allocations: 3.938 kB / 0.7508 GB, free: 2.746 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.6694, allocations: 211.4 kB / 0.751 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.6695, allocations: 81.14 kB / 0.7511 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.6695, allocations: 12.02 kB / 0.7511 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.6696, allocations: 7.984 kB / 0.7511 GB, free: 2.406 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.136e-05/0.6697, allocations: 4 kB / 0.7511 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.6697, allocations: 7.984 kB / 0.7511 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.521e-05/0.6697, allocations: 83.28 kB / 0.7512 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6697, allocations: 0 / 0.7512 GB, free: 2.312 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002761/0.67, allocations: 39.94 kB / 0.7512 GB, free: 2.273 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0006042/0.6706, allocations: 0.7831 MB / 0.752 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.6708, allocations: 60.03 kB / 0.752 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6708, allocations: 3.938 kB / 0.752 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.6708, allocations: 28 kB / 0.7521 GB, free: 1.371 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001937/0.671, allocations: 11.95 kB / 0.7521 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.6717, allocations: 298.4 kB / 0.7524 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.6719, allocations: 0.6963 MB / 0.753 GB, free: 316 kB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.904e-05/0.672, allocations: 16.61 kB / 0.7531 GB, free: 300 kB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.672, allocations: 27.42 kB / 0.7531 GB, free: 272 kB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.672, allocations: 0 / 0.7531 GB, free: 272 kB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02286/0.6949, allocations: 1.665 MB / 0.7547 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002834/0.6953, allocations: 186.6 kB / 0.7549 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.544/2.239, allocations: 0 / 0.7549 GB, free: 14.41 MB / 0.5417 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)