Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001151/0.001151, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7072/0.7072, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 221.3 MB / 400.4 MB, free: 5.875 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009032/0.0009033, allocations: 104.7 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.093e-05/4.117e-05, allocations: 7.297 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1562/0.1562, allocations: 82.29 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6372/0.7935, allocations: 112.1 MB / 0.7499 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.7938, allocations: 79.41 kB / 0.75 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0112/0.8051, allocations: 4.059 MB / 0.754 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.484e-06/0.8051, allocations: 0 / 0.754 GB, free: 27.32 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.8051, allocations: 0 / 0.754 GB, free: 27.32 MB / 0.5105 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.0003623/0.8055, allocations: 348.2 kB / 0.7543 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.902e-05/0.8055, allocations: 11.66 kB / 0.7543 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/0.8056, allocations: 30.56 kB / 0.7544 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.8056, allocations: 3.906 kB / 0.7544 GB, free: 26.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.8057, allocations: 168.9 kB / 0.7545 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.8058, allocations: 0 / 0.7545 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.8058, allocations: 3.875 kB / 0.7545 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.8059, allocations: 36.11 kB / 0.7546 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/0.8059, allocations: 0 / 0.7546 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.8059, allocations: 7.938 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.806, allocations: 3.844 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/0.806, allocations: 7.688 kB / 0.7546 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.8062, allocations: 174.5 kB / 0.7547 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.8064, allocations: 44.39 kB / 0.7548 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.116e-05/0.8064, allocations: 16.02 kB / 0.7548 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.8064, allocations: 0 / 0.7548 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8065, allocations: 37.14 kB / 0.7548 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8065, allocations: 0 / 0.7548 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0006309/0.8071, allocations: 306.7 kB / 0.7551 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.8072, allocations: 58.2 kB / 0.7552 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.984e-05/0.8073, allocations: 88.88 kB / 0.7553 GB, free: 25.98 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.8073, allocations: 25.7 kB / 0.7553 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.8073, allocations: 87.42 kB / 0.7554 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.8074, allocations: 21.58 kB / 0.7554 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.8074, allocations: 3.062 kB / 0.7554 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.8075, allocations: 321.1 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.8075, allocations: 11 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.763e-05/0.8076, allocations: 6.781 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.8076, allocations: 11.09 kB / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.8076, allocations: 0 / 0.7557 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.644e-05/0.8077, allocations: 64.31 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8077, allocations: 7.688 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.8077, allocations: 4 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8078, allocations: 0 / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.186e-05/0.8078, allocations: 13.73 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8078, allocations: 3.844 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.801e-05/0.8079, allocations: 3.125 kB / 0.7558 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.8079, allocations: 0 / 0.7558 GB, free: 25.5 MB / 0.5105 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 6.867e-05/0.8079, allocations: 108.7 kB / 0.7559 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.326e-05/0.808, allocations: 7.281 kB / 0.7559 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001422/0.8081, allocations: 75.03 kB / 0.756 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.8081, allocations: 0 / 0.756 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.8081, allocations: 3.938 kB / 0.756 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.8081, allocations: 0 / 0.756 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003085/0.8085, allocations: 310.1 kB / 0.7563 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.8085, allocations: 0 / 0.7563 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.8085, allocations: 14.31 kB / 0.7563 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.8085, allocations: 3.844 kB / 0.7563 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.8086, allocations: 3.938 kB / 0.7563 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.8086, allocations: 0 / 0.7563 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8086, allocations: 4.031 kB / 0.7563 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.8088, allocations: 185.6 kB / 0.7565 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.8088, allocations: 91.08 kB / 0.7566 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.8089, allocations: 256 / 0.7566 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.8089, allocations: 7.906 kB / 0.7566 GB, free: 24.76 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.159e-05/0.8089, allocations: 14.78 kB / 0.7566 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.809, allocations: 7.5 kB / 0.7566 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.528e-05/0.809, allocations: 83.09 kB / 0.7567 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.809, allocations: 0 / 0.7567 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002495/0.8093, allocations: 25.59 kB / 0.7567 GB, free: 24.67 MB / 0.5105 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.00056/0.8098, allocations: 0.8113 MB / 0.7575 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.025e-05/0.8099, allocations: 33.72 kB / 0.7576 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.81, allocations: 0 / 0.7576 GB, free: 23.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-05/0.81, allocations: 19.09 kB / 0.7576 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/0.8101, allocations: 11.36 kB / 0.7576 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.8106, allocations: 184.5 kB / 0.7578 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.8109, allocations: 0.6826 MB / 0.7584 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.531e-05/0.8109, allocations: 8.25 kB / 0.7584 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.8109, allocations: 18.58 kB / 0.7585 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.613e-06/0.811, allocations: 0 / 0.7585 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01304/0.824, allocations: 1.344 MB / 0.7598 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000144/0.8242, allocations: 183.2 kB / 0.7599 GB, free: 22.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.871, allocations: 3.094 kB / 0.7599 GB, free: 22.64 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)