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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009653/0.0009656, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.00112/0.00112, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003119, allocations: 8 kB / 0.5035 GB, free: 4.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4073, allocations: 81.58 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001694/0.409, allocations: 1.174 MB / 0.5843 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008973/0.4099, allocations: 0.5913 MB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.942e-05/0.41, allocations: 0.9375 kB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.41, allocations: 1.266 kB / 0.5849 GB, free: 2.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.105e-05/0.4101, allocations: 6.25 kB / 0.5849 GB, free: 2.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.4106, allocations: 134.8 kB / 0.585 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.766e-05/0.4107, allocations: 46.38 kB / 0.5851 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.523e-05/0.4107, allocations: 3.641 kB / 0.5851 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.4108, allocations: 28.53 kB / 0.5851 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.129e-05/0.4108, allocations: 25.62 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.4109, allocations: 3.469 kB / 0.5851 GB, free: 2.605 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005165/0.4114, allocations: 342.4 kB / 0.5854 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.4114, allocations: 12.61 kB / 0.5855 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.423e-05/0.4114, allocations: 30.14 kB / 0.5855 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.4117, allocations: 111.9 kB / 0.5856 GB, free: 2.445 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4117, allocations: 4.656 kB / 0.5856 GB, free: 2.441 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4117, allocations: 0.6562 kB / 0.5856 GB, free: 2.441 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.4117, allocations: 0 / 0.5856 GB, free: 2.441 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004559/0.4122, allocations: 395.1 kB / 0.586 GB, free: 2.051 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.4122, allocations: 10.14 kB / 0.586 GB, free: 2.051 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.4122, allocations: 33.89 kB / 0.586 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.4123, allocations: 16.23 kB / 0.586 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.4124, allocations: 171 kB / 0.5862 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.4124, allocations: 7.297 kB / 0.5862 GB, free: 1.793 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.4124, allocations: 7.594 kB / 0.5862 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4127, allocations: 83.75 kB / 0.5863 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.4127, allocations: 4 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4127, allocations: 0.9688 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4127, allocations: 1.625 kB / 0.5863 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002302/0.4129, allocations: 58.94 kB / 0.5864 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.4134, allocations: 334.2 kB / 0.5867 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.4137, allocations: 87.39 kB / 0.5868 GB, free: 1.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4138, allocations: 31.05 kB / 0.5868 GB, free: 1.371 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4139, allocations: 5.531 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.4139, allocations: 40.73 kB / 0.5868 GB, free: 1.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.4139, allocations: 0 / 0.5868 GB, free: 1.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001508/0.4154, allocations: 0.6706 MB / 0.5875 GB, free: 0.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.4155, allocations: 52.78 kB / 0.5875 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.4155, allocations: 101.4 kB / 0.5876 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.4155, allocations: 26.67 kB / 0.5877 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.871e-05/0.4156, allocations: 104.3 kB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.4156, allocations: 34.67 kB / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.4156, allocations: 4.719 kB / 0.5878 GB, free: 476 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.4157, allocations: 314.8 kB / 0.5881 GB, free: 156 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.4158, allocations: 35.39 kB / 0.5881 GB, free: 148 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.4159, allocations: 43.55 kB / 0.5882 GB, free: 136 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.416, allocations: 38.48 kB / 0.5882 GB, free: 124 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.416, allocations: 0 / 0.5882 GB, free: 124 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003057/0.4164, allocations: 133.7 kB / 0.5883 GB, free: 56 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.4164, allocations: 9.281 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.4164, allocations: 0 / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4164, allocations: 1.531 kB / 0.5883 GB, free: 52 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001498/0.4166, allocations: 31.44 kB / 0.5884 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4166, allocations: 1.375 kB / 0.5884 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.4167, allocations: 8.484 kB / 0.5884 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.4167, allocations: 6.094 kB / 0.5884 GB, free: 44 kB / 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 (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 0.0001017/0.4168, allocations: 122.6 kB / 0.5885 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4168, allocations: 11.58 kB / 0.5885 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003748/0.4172, allocations: 132.5 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4172, allocations: 1.188 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.4172, allocations: 0.9375 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.187e-06/0.4172, allocations: 1.938 kB / 0.5886 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.4178, allocations: 401.8 kB / 0.589 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.4178, allocations: 0 / 0.589 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.418, allocations: 27.36 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.418, allocations: 0.9688 kB / 0.5891 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.418, allocations: 9.938 kB / 0.5891 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.418, allocations: 5.062 kB / 0.5891 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.418, allocations: 0 / 0.5891 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005191/0.4186, allocations: 263.2 kB / 0.5893 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.4186, allocations: 83.11 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.4186, allocations: 1.328 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.4188, allocations: 8.828 kB / 0.5894 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.398e-05/0.4188, allocations: 9.875 kB / 0.5894 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.4188, allocations: 4.109 kB / 0.5894 GB, free: 15.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.893e-05/0.4188, allocations: 79.34 kB / 0.5895 GB, free: 15.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4189, allocations: 0 / 0.5895 GB, free: 15.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003191/0.4192, allocations: 44.16 kB / 0.5895 GB, free: 15.12 MB / 446.1 MB 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 () * Number of clocked 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.0008637/0.4201, allocations: 0.828 MB / 0.5903 GB, free: 14.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.4204, allocations: 89.78 kB / 0.5904 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4204, allocations: 1.219 kB / 0.5904 GB, free: 14.39 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.4206, allocations: 57.61 kB / 0.5905 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.4209, allocations: 9.359 kB / 0.5905 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.4223, allocations: 0.7491 MB / 0.5912 GB, free: 13.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.4226, allocations: 0.691 MB / 0.5919 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.265e-05/0.4226, allocations: 8.766 kB / 0.5919 GB, free: 13.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.4227, allocations: 27.3 kB / 0.5919 GB, free: 13.11 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4227, allocations: 1.312 kB / 0.5919 GB, free: 13.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.436, allocations: 2.053 MB / 0.5939 GB, free: 12.95 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.4362, allocations: 216.8 kB / 0.5942 GB, free: 12.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.186, allocations: 0 / 0.5942 GB, free: 12.71 MB / 446.1 MB (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) Environment - environmentSimulation: