Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 104.1 kB / 16.27 MB, free: 5.98 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.001202/0.001201, allocations: 189.8 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.391/1.391, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8203/0.8203, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003285/0.003285, allocations: 64.14 kB / 0.506 GB, free: 8.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4184/0.4217, allocations: 80.93 MB / 0.5851 GB, free: 25.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002482/0.4242, allocations: 1.46 MB / 0.5865 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000901/0.4252, allocations: 0.6275 MB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.623e-05/0.4252, allocations: 3.938 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.714e-05/0.4252, allocations: 4.656 kB / 0.5871 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.204e-05/0.4253, allocations: 9.422 kB / 0.5871 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005024/0.4258, allocations: 157.5 kB / 0.5873 GB, free: 23.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.4259, allocations: 54.52 kB / 0.5873 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.4259, allocations: 4.594 kB / 0.5873 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.617e-05/0.426, allocations: 26.27 kB / 0.5874 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.638e-05/0.4261, allocations: 28.38 kB / 0.5874 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.4261, allocations: 3.188 kB / 0.5874 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.4266, allocations: 346.1 kB / 0.5877 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.4266, allocations: 17.3 kB / 0.5877 GB, free: 23.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.4266, allocations: 26.2 kB / 0.5878 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.4269, allocations: 172.3 kB / 0.5879 GB, free: 23.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4269, allocations: 0 / 0.5879 GB, free: 23.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4269, allocations: 2.312 kB / 0.5879 GB, free: 23.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.4269, allocations: 0 / 0.5879 GB, free: 23.01 MB / 446.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.000516/0.4274, allocations: 395.8 kB / 0.5883 GB, free: 22.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.4275, allocations: 11.17 kB / 0.5883 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.239e-05/0.4275, allocations: 8.188 kB / 0.5883 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.429e-05/0.4276, allocations: 171.4 kB / 0.5885 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.4276, allocations: 16.27 kB / 0.5885 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.4277, allocations: 8.625 kB / 0.5885 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.4279, allocations: 83.84 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.4279, allocations: 5.531 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.4279, allocations: 0 / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.428, allocations: 1.438 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.4282, allocations: 49.45 kB / 0.5886 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000462/0.4287, allocations: 327.4 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.4289, allocations: 78.03 kB / 0.589 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.4291, allocations: 36.34 kB / 0.5891 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4291, allocations: 1.438 kB / 0.5891 GB, free: 21.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.4291, allocations: 40.72 kB / 0.5891 GB, free: 21.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.214e-06/0.4291, allocations: 0.9375 kB / 0.5891 GB, free: 21.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001456/0.4306, allocations: 0.6476 MB / 0.5897 GB, free: 21.28 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.4306, allocations: 57.12 kB / 0.5898 GB, free: 21.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.59e-05/0.4307, allocations: 108.9 kB / 0.5899 GB, free: 21.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4307, allocations: 27.02 kB / 0.5899 GB, free: 21.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.4307, allocations: 90.95 kB / 0.59 GB, free: 20.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.4307, allocations: 36.11 kB / 0.59 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.4308, allocations: 29.2 kB / 0.5901 GB, free: 20.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.386e-05/0.4308, allocations: 319.3 kB / 0.5904 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.431, allocations: 30.09 kB / 0.5904 GB, free: 20.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4311, allocations: 38.72 kB / 0.5904 GB, free: 20.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.4313, allocations: 73 kB / 0.5905 GB, free: 20.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4313, allocations: 3.984 kB / 0.5905 GB, free: 20.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002946/0.4316, allocations: 117.5 kB / 0.5906 GB, free: 20.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.4317, allocations: 5.562 kB / 0.5906 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4317, allocations: 0 / 0.5906 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.4317, allocations: 1.344 kB / 0.5906 GB, free: 20.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.4318, allocations: 32.08 kB / 0.5907 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.4318, allocations: 1.344 kB / 0.5907 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.045e-05/0.4319, allocations: 5.312 kB / 0.5907 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.4319, allocations: 6.391 kB / 0.5907 GB, free: 20.46 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.432, allocations: 116.9 kB / 0.5908 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.432, allocations: 11.75 kB / 0.5908 GB, free: 20.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.4324, allocations: 121.7 kB / 0.5909 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4324, allocations: 7.938 kB / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4324, allocations: 0 / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4324, allocations: 3.984 kB / 0.5909 GB, free: 20.21 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004338/0.4328, allocations: 391 kB / 0.5913 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4329, allocations: 2.188 kB / 0.5913 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.433, allocations: 27.92 kB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.433, allocations: 3.984 kB / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.856e-06/0.433, allocations: 0 / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.433, allocations: 0 / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.433, allocations: 0 / 0.5913 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.4334, allocations: 258.5 kB / 0.5916 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.4335, allocations: 81.14 kB / 0.5917 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4335, allocations: 11.94 kB / 0.5917 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.4336, allocations: 9.266 kB / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.4336, allocations: 4 kB / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.4336, allocations: 4 kB / 0.5917 GB, free: 19.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.269e-05/0.4337, allocations: 88.08 kB / 0.5918 GB, free: 19.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4337, allocations: 0 / 0.5918 GB, free: 19.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.4339, allocations: 41.16 kB / 0.5918 GB, free: 19.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001821/0.4341, allocations: 128 kB / 0.5919 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003053/0.4344, allocations: 84.95 kB / 0.592 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4345, allocations: 0 / 0.592 GB, free: 19.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.4346, allocations: 48.84 kB / 0.5921 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.4349, allocations: 11.45 kB / 0.5921 GB, free: 18.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.4355, allocations: 357.4 kB / 0.5924 GB, free: 18.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.4356, allocations: 0.6924 MB / 0.5931 GB, free: 17.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.4356, allocations: 19.42 kB / 0.5931 GB, free: 17.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4356, allocations: 0 / 0.5931 GB, free: 17.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002661/0.4383, allocations: 1.311 MB / 0.5944 GB, free: 16.59 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)