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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 99.47 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.332/2.332, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.392/1.392, allocations: 132.3 MB / 423.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005926/0.0005927, allocations: 12 kB / 0.5033 GB, free: 4.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7961, allocations: 81.57 MB / 0.583 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001939/0.7981, allocations: 0.9863 MB / 0.5839 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008888/0.7991, allocations: 325.1 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.656e-05/0.7991, allocations: 1.375 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.7992, allocations: 0.6094 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.718e-05/0.7992, allocations: 8.781 kB / 0.5842 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.7997, allocations: 65.81 kB / 0.5843 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.42e-05/0.7998, allocations: 11.86 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.999e-05/0.7999, allocations: 1.844 kB / 0.5843 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.7999, allocations: 13.89 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.823e-05/0.8, allocations: 4.406 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.8001, allocations: 1.688 kB / 0.5843 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/0.8006, allocations: 178.5 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.8006, allocations: 2.734 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.8007, allocations: 39.58 kB / 0.5846 GB, free: 2.918 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.8009, allocations: 53.48 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.8009, allocations: 0 / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.8009, allocations: 0 / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.8009, allocations: 0.6875 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB 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.0004068/0.8013, allocations: 341.8 kB / 0.5849 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.8014, allocations: 14.03 kB / 0.5849 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.8015, allocations: 32.5 kB / 0.585 GB, free: 2.496 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.8015, allocations: 5.344 kB / 0.585 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.8016, allocations: 173.3 kB / 0.5851 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.8017, allocations: 5.703 kB / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.8017, allocations: 2.062 kB / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.8018, allocations: 39.31 kB / 0.5852 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.8019, allocations: 0 / 0.5852 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.8019, allocations: 1.031 kB / 0.5852 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.8019, allocations: 3.938 kB / 0.5852 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.401e-05/0.802, allocations: 9.031 kB / 0.5852 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001943/0.8022, allocations: 162.4 kB / 0.5854 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.8025, allocations: 44.53 kB / 0.5854 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.8025, allocations: 0 / 0.5854 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.8025, allocations: 33.02 kB / 0.5854 GB, free: 1.973 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.8026, allocations: 0 / 0.5854 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.000863/0.8034, allocations: 315.7 kB / 0.5857 GB, free: 1.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.8035, allocations: 57.19 kB / 0.5858 GB, free: 1.613 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.58e-05/0.8036, allocations: 95.58 kB / 0.5859 GB, free: 1.516 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.8036, allocations: 31.11 kB / 0.5859 GB, free: 1.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.8036, allocations: 80.75 kB / 0.586 GB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.254e-05/0.8037, allocations: 19.62 kB / 0.586 GB, free: 1.383 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.8037, allocations: 0 / 0.586 GB, free: 1.383 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.074e-05/0.8038, allocations: 319.2 kB / 0.5863 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.8038, allocations: 10.88 kB / 0.5863 GB, free: 1.062 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.872e-05/0.8039, allocations: 15.53 kB / 0.5863 GB, free: 1.055 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.8039, allocations: 15.55 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.804, allocations: 0.9062 kB / 0.5864 GB, free: 1.047 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001654/0.8041, allocations: 71.47 kB / 0.5864 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.8042, allocations: 5 kB / 0.5864 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.8042, allocations: 0 / 0.5864 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.8042, allocations: 2.438 kB / 0.5864 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.8043, allocations: 10.23 kB / 0.5864 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8043, allocations: 4.812 kB / 0.5864 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.8044, allocations: 1.438 kB / 0.5864 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.8044, allocations: 1.125 kB / 0.5864 GB, free: 0.9922 MB / 430.1 MB 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 () * Number of clocked 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 8.071e-05/0.8045, allocations: 120.9 kB / 0.5866 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.711e-05/0.8045, allocations: 2.031 kB / 0.5866 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.8047, allocations: 72.39 kB / 0.5866 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.8048, allocations: 1.5 kB / 0.5866 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.8048, allocations: 3.938 kB / 0.5866 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.8048, allocations: 1.266 kB / 0.5866 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.8052, allocations: 316.8 kB / 0.5869 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8053, allocations: 9.188 kB / 0.5869 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.8054, allocations: 11.22 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.8054, allocations: 1.641 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.8054, allocations: 1.312 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.8054, allocations: 2.5 kB / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.8054, allocations: 0 / 0.587 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.8057, allocations: 196.3 kB / 0.5872 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.842e-05/0.8058, allocations: 81.86 kB / 0.5872 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8058, allocations: 2.25 kB / 0.5872 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.8059, allocations: 1.688 kB / 0.5872 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/0.806, allocations: 12.86 kB / 0.5872 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.806, allocations: 6.203 kB / 0.5873 GB, free: 192 kB / 430.1 MB Notification: Performance of sorting global known variables: time 3.115e-05/0.806, allocations: 78.3 kB / 0.5873 GB, free: 116 kB / 430.1 MB Notification: Performance of sort global known variables: time 4e-07/0.8061, allocations: 0 / 0.5873 GB, free: 116 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.000501/0.8066, allocations: 20.08 kB / 0.5873 GB, free: 112 kB / 430.1 MB 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 () * Number of clocked 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.001104/0.8077, allocations: 0.8116 MB / 0.5881 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002976/0.808, allocations: 38.22 kB / 0.5882 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.808, allocations: 1.156 kB / 0.5882 GB, free: 15.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.809e-05/0.8081, allocations: 23.81 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.8084, allocations: 7.078 kB / 0.5882 GB, free: 15.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.8099, allocations: 488.6 kB / 0.5887 GB, free: 14.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005372/0.8105, allocations: 0.6834 MB / 0.5893 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.917e-05/0.8106, allocations: 4.234 kB / 0.5893 GB, free: 14.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.8106, allocations: 19.56 kB / 0.5894 GB, free: 14.17 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.8106, allocations: 0 / 0.5894 GB, free: 14.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.8403, allocations: 1.369 MB / 0.5907 GB, free: 14.05 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003704/0.8407, allocations: 221 kB / 0.5909 GB, free: 13.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.48, allocations: 0.6875 kB / 0.5909 GB, free: 13.81 MB / 446.1 MB (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) Environment - environmentSimulation: