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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0009805/0.0009802, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008254/0.008254, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.441/1.441, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7729/0.7729, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 13.16 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4349, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002111/0.437, allocations: 1.184 MB / 0.5848 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.4383, allocations: 0.6426 MB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.443e-05/0.4384, allocations: 0.9375 kB / 0.5855 GB, free: 2.734 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.4384, allocations: 5.203 kB / 0.5855 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.481e-05/0.4385, allocations: 10.31 kB / 0.5855 GB, free: 2.723 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.4393, allocations: 138.3 kB / 0.5856 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001223/0.4394, allocations: 49.5 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.952e-05/0.4395, allocations: 3.641 kB / 0.5857 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.807e-05/0.4396, allocations: 20.78 kB / 0.5857 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.797e-05/0.4397, allocations: 25.3 kB / 0.5857 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.4397, allocations: 2.75 kB / 0.5857 GB, free: 2.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.4405, allocations: 343.3 kB / 0.586 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.4405, allocations: 25.14 kB / 0.5861 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.4406, allocations: 43.88 kB / 0.5861 GB, free: 2.461 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004115/0.441, allocations: 176.2 kB / 0.5863 GB, free: 2.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.441, allocations: 0.9375 kB / 0.5863 GB, free: 2.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.441, allocations: 0 / 0.5863 GB, free: 2.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.441, allocations: 0 / 0.5863 GB, free: 2.402 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.0006134/0.4416, allocations: 391.2 kB / 0.5866 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.4417, allocations: 10.06 kB / 0.5866 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.4417, allocations: 8.578 kB / 0.5867 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.4418, allocations: 172.7 kB / 0.5868 GB, free: 1.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.517e-05/0.4419, allocations: 7.125 kB / 0.5868 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.4419, allocations: 8.875 kB / 0.5868 GB, free: 1.801 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.4422, allocations: 85.03 kB / 0.5869 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4422, allocations: 5.406 kB / 0.5869 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4423, allocations: 4.75 kB / 0.5869 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.4423, allocations: 1.656 kB / 0.5869 GB, free: 1.746 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.4426, allocations: 59.88 kB / 0.587 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006079/0.4432, allocations: 334.2 kB / 0.5873 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.4435, allocations: 87.91 kB / 0.5874 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.4437, allocations: 34.64 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.4437, allocations: 2.75 kB / 0.5874 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4437, allocations: 39.3 kB / 0.5875 GB, free: 1.328 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.694e-06/0.4437, allocations: 0 / 0.5875 GB, free: 1.328 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001732/0.4455, allocations: 0.6751 MB / 0.5881 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.4455, allocations: 56.56 kB / 0.5882 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.148e-05/0.4456, allocations: 101.9 kB / 0.5883 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.4456, allocations: 27.05 kB / 0.5883 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.016e-05/0.4456, allocations: 100.2 kB / 0.5884 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.4457, allocations: 38.3 kB / 0.5884 GB, free: 484 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.75e-05/0.4457, allocations: 18.58 kB / 0.5884 GB, free: 464 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.4458, allocations: 315.2 kB / 0.5887 GB, free: 144 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.4459, allocations: 35.38 kB / 0.5888 GB, free: 136 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.4461, allocations: 37.62 kB / 0.5888 GB, free: 128 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.4464, allocations: 79.28 kB / 0.5889 GB, free: 100 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4464, allocations: 0 / 0.5889 GB, free: 100 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003511/0.4467, allocations: 133.1 kB / 0.589 GB, free: 36 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.4468, allocations: 10.78 kB / 0.589 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.4468, allocations: 1.281 kB / 0.589 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.4468, allocations: 0 / 0.589 GB, free: 32 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.447, allocations: 39.55 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.447, allocations: 0.5938 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.4471, allocations: 8.094 kB / 0.5891 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.4471, allocations: 3.547 kB / 0.5891 GB, free: 20 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001163/0.4472, allocations: 123 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.4472, allocations: 7.375 kB / 0.5892 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004474/0.4477, allocations: 137 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.4477, allocations: 5.969 kB / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4477, allocations: 0 / 0.5893 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.4477, allocations: 4.75 kB / 0.5893 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006405/0.4484, allocations: 396 kB / 0.5897 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4484, allocations: 0 / 0.5897 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.4486, allocations: 30.19 kB / 0.5898 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4486, allocations: 1.219 kB / 0.5898 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4486, allocations: 5.672 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.4486, allocations: 1.406 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4486, allocations: 1.312 kB / 0.5898 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005767/0.4492, allocations: 266.4 kB / 0.59 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.4493, allocations: 87.69 kB / 0.5901 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.4493, allocations: 1.453 kB / 0.5901 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.4494, allocations: 13 kB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/0.4494, allocations: 6.297 kB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.4495, allocations: 3.812 kB / 0.5901 GB, free: 15.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.4495, allocations: 88.44 kB / 0.5902 GB, free: 15.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4495, allocations: 4.062 kB / 0.5902 GB, free: 15.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003349/0.4499, allocations: 38.52 kB / 0.5902 GB, free: 15.09 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.0002319/0.4501, allocations: 126.5 kB / 0.5904 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003746/0.4505, allocations: 91.88 kB / 0.5905 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4505, allocations: 0 / 0.5905 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.4507, allocations: 55.31 kB / 0.5905 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.451, allocations: 12.83 kB / 0.5905 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007385/0.4517, allocations: 385.9 kB / 0.5909 GB, free: 14.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.452, allocations: 0.695 MB / 0.5916 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.871e-05/0.4521, allocations: 14.19 kB / 0.5916 GB, free: 13.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.291e-05/0.4521, allocations: 13.22 kB / 0.5916 GB, free: 13.95 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4521, allocations: 0.875 kB / 0.5916 GB, free: 13.95 MB / 446.1 MB Notification: Performance of Templates: time 0.00406/0.4562, allocations: 1.087 MB / 0.5927 GB, free: 13.86 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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 & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)