Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.001747/0.001747, allocations: 174.6 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.8062/0.8062, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.419/1.419, allocations: 221.3 MB / 400.4 MB, free: 5.793 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.000823/0.0008233, allocations: 95.83 kB / 483.3 MB, free: 5.805 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.558e-05, allocations: 2.469 kB / 0.5601 GB, free: 87.81 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2034, allocations: 82.31 MB / 0.6405 GB, free: 7.695 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.552/0.7555, allocations: 111.9 MB / 0.7498 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.7557, allocations: 81.73 kB / 0.7499 GB, free: 12.24 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.008124/0.7639, allocations: 2.866 MB / 0.7527 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7639, allocations: 0 / 0.7527 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.7639, allocations: 0 / 0.7527 GB, free: 27.79 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.0003004/0.7642, allocations: 350.6 kB / 0.7531 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.7643, allocations: 7.688 kB / 0.7531 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.661e-05/0.7643, allocations: 30.56 kB / 0.7531 GB, free: 27.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.598e-05/0.7644, allocations: 14.27 kB / 0.7531 GB, free: 27.38 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.7645, allocations: 163 kB / 0.7533 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7645, allocations: 0 / 0.7533 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.7645, allocations: 7.844 kB / 0.7533 GB, free: 27.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.7646, allocations: 39.38 kB / 0.7533 GB, free: 27.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.7646, allocations: 11.92 kB / 0.7533 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.7647, allocations: 3.562 kB / 0.7533 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7647, allocations: 0 / 0.7533 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.734e-05/0.7647, allocations: 10.2 kB / 0.7533 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.7649, allocations: 159.2 kB / 0.7535 GB, free: 26.95 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.765, allocations: 47.8 kB / 0.7535 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.187e-05/0.7651, allocations: 18.55 kB / 0.7535 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.7651, allocations: 0 / 0.7535 GB, free: 26.91 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.7651, allocations: 34.44 kB / 0.7536 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.7652, allocations: 0 / 0.7536 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=6): time 0.0005885/0.7657, allocations: 295.5 kB / 0.7539 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.7658, allocations: 51.41 kB / 0.7539 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.407e-05/0.7659, allocations: 103.3 kB / 0.754 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.7659, allocations: 25.7 kB / 0.754 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.432e-05/0.7659, allocations: 80.14 kB / 0.7541 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.766, allocations: 19.19 kB / 0.7541 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.766, allocations: 0 / 0.7541 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7661, allocations: 321.2 kB / 0.7544 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.7661, allocations: 11.62 kB / 0.7544 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.7661, allocations: 11.31 kB / 0.7545 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.103e-05/0.7662, allocations: 27.12 kB / 0.7545 GB, free: 26 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.7662, allocations: 0 / 0.7545 GB, free: 26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.231e-05/0.7663, allocations: 58.67 kB / 0.7545 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.7663, allocations: 3.844 kB / 0.7545 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7663, allocations: 3.719 kB / 0.7545 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7663, allocations: 0 / 0.7545 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.7664, allocations: 10.22 kB / 0.7546 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.7664, allocations: 240 / 0.7546 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.04e-05/0.7664, allocations: 7.312 kB / 0.7546 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.7664, allocations: 0 / 0.7546 GB, free: 25.97 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.58e-05/0.7665, allocations: 112.9 kB / 0.7547 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.7665, allocations: 7.656 kB / 0.7547 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.7667, allocations: 78.53 kB / 0.7548 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.7667, allocations: 0 / 0.7548 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.7667, allocations: 0 / 0.7548 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.7667, allocations: 0 / 0.7548 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.767, allocations: 317.9 kB / 0.7551 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.767, allocations: 4 kB / 0.7551 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.792e-05/0.7671, allocations: 14.52 kB / 0.7551 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7671, allocations: 4.219 kB / 0.7551 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.7671, allocations: 0 / 0.7551 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.7671, allocations: 0 / 0.7551 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.7671, allocations: 3.938 kB / 0.7551 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.7673, allocations: 184.9 kB / 0.7553 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.859e-05/0.7673, allocations: 99.14 kB / 0.7554 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.7674, allocations: 0 / 0.7554 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.157e-05/0.7674, allocations: 3.844 kB / 0.7554 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.014e-05/0.7675, allocations: 6.672 kB / 0.7554 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.7675, allocations: 7.531 kB / 0.7554 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.227e-05/0.7675, allocations: 79.12 kB / 0.7554 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7675, allocations: 0 / 0.7554 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002435/0.7678, allocations: 30.33 kB / 0.7555 GB, free: 25.13 MB / 0.5105 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.0004838/0.7682, allocations: 0.8141 MB / 0.7563 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.514e-05/0.7684, allocations: 33.28 kB / 0.7563 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7684, allocations: 0 / 0.7563 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.238e-05/0.7684, allocations: 19.19 kB / 0.7563 GB, free: 24.37 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001437/0.7685, allocations: 15.58 kB / 0.7563 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.769, allocations: 189.9 kB / 0.7565 GB, free: 24.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.7692, allocations: 0.6862 MB / 0.7572 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 3.456e-05/0.7693, allocations: 7.844 kB / 0.7572 GB, free: 23.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.7693, allocations: 14.97 kB / 0.7572 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of SimCode: time 2.91e-07/0.7693, allocations: 0 / 0.7572 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01168/0.781, allocations: 1.357 MB / 0.7585 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/0.7812, allocations: 185.5 kB / 0.7587 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.453/2.234, allocations: 0 / 0.7587 GB, free: 23.1 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)