Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0099/0.0099, allocations: 99.72 kB / 15.73 MB, free: 6.48 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.001705/0.001705, allocations: 193.8 kB / 16.68 MB, free: 6.363 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.036/1.036, allocations: 135.6 MB / 426.1 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 67.89 kB / 0.5862 GB, free: 2.676 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4398, allocations: 81.02 MB / 0.6654 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001879/0.4418, allocations: 1.267 MB / 0.6666 GB, free: 6.312 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000808/0.4426, allocations: 0.6152 MB / 0.6672 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.281e-05/0.4426, allocations: 0 / 0.6672 GB, free: 5.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.4426, allocations: 3.938 kB / 0.6672 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.021e-05/0.4427, allocations: 5.547 kB / 0.6672 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000467/0.4432, allocations: 144 kB / 0.6673 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.962e-05/0.4432, allocations: 20.89 kB / 0.6674 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.4433, allocations: 7.25 kB / 0.6674 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.575e-05/0.4433, allocations: 19 kB / 0.6674 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5e-05/0.4434, allocations: 7.969 kB / 0.6674 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.4434, allocations: 1.344 kB / 0.6674 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004384/0.4438, allocations: 341.3 kB / 0.6677 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4439, allocations: 5.094 kB / 0.6677 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.4439, allocations: 7.656 kB / 0.6677 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.4441, allocations: 150.3 kB / 0.6679 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4441, allocations: 0 / 0.6679 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4441, allocations: 1.031 kB / 0.6679 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.4441, allocations: 0 / 0.6679 GB, free: 5.398 MB / 0.4981 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.0003453/0.4445, allocations: 367.3 kB / 0.6682 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.4445, allocations: 9.562 kB / 0.6682 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.4446, allocations: 6.359 kB / 0.6682 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.441e-05/0.4447, allocations: 165.5 kB / 0.6684 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4447, allocations: 6 kB / 0.6684 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.4447, allocations: 2.031 kB / 0.6684 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4448, allocations: 43.97 kB / 0.6685 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.4448, allocations: 0 / 0.6685 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.4448, allocations: 0 / 0.6685 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.4448, allocations: 5.266 kB / 0.6685 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.641e-05/0.4449, allocations: 9.719 kB / 0.6685 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.445, allocations: 163.3 kB / 0.6686 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.4452, allocations: 47.8 kB / 0.6687 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.186e-05/0.4452, allocations: 19.56 kB / 0.6687 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.4453, allocations: 5.375 kB / 0.6687 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4453, allocations: 35.88 kB / 0.6687 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.4453, allocations: 0 / 0.6687 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000519/0.4458, allocations: 303.1 kB / 0.669 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.629e-05/0.4459, allocations: 61.05 kB / 0.6691 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.4459, allocations: 97.64 kB / 0.6692 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.625e-06/0.4459, allocations: 25.7 kB / 0.6692 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.707e-05/0.4459, allocations: 81.2 kB / 0.6693 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.446, allocations: 25.97 kB / 0.6693 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.446, allocations: 19.38 kB / 0.6693 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.366e-05/0.4461, allocations: 311.8 kB / 0.6696 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.4461, allocations: 18.2 kB / 0.6696 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.17e-05/0.4461, allocations: 15.06 kB / 0.6696 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.4462, allocations: 27.55 kB / 0.6697 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4462, allocations: 1.344 kB / 0.6697 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.496e-05/0.4463, allocations: 75.98 kB / 0.6697 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.4463, allocations: 5.219 kB / 0.6697 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.4463, allocations: 0 / 0.6697 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4463, allocations: 1.531 kB / 0.6697 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.713e-05/0.4464, allocations: 17.83 kB / 0.6698 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.4464, allocations: 0 / 0.6698 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.4464, allocations: 3.938 kB / 0.6698 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.4464, allocations: 6.125 kB / 0.6698 GB, free: 3.402 MB / 0.4981 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.696e-05/0.4465, allocations: 116.4 kB / 0.6699 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.4465, allocations: 5.766 kB / 0.6699 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.4466, allocations: 74.7 kB / 0.67 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.4466, allocations: 1.906 kB / 0.67 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.4466, allocations: 0 / 0.67 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4466, allocations: 0 / 0.67 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.4469, allocations: 323.7 kB / 0.6703 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4469, allocations: 1.031 kB / 0.6703 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.013e-05/0.447, allocations: 13.7 kB / 0.6703 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.447, allocations: 1.188 kB / 0.6703 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.447, allocations: 4.906 kB / 0.6703 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.447, allocations: 0.9688 kB / 0.6703 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.447, allocations: 1.062 kB / 0.6703 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.4471, allocations: 177.8 kB / 0.6705 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.4472, allocations: 87.2 kB / 0.6705 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.4472, allocations: 1.281 kB / 0.6705 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.4473, allocations: 2.125 kB / 0.6706 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.4473, allocations: 10.27 kB / 0.6706 GB, free: 2.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.4473, allocations: 6.703 kB / 0.6706 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.994e-05/0.4473, allocations: 80.66 kB / 0.6706 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4473, allocations: 1.156 kB / 0.6706 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002501/0.4476, allocations: 22.62 kB / 0.6707 GB, free: 2.5 MB / 0.4981 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 () * 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 (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.0001662/0.4477, allocations: 122.9 kB / 0.6708 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001113/0.4479, allocations: 36.75 kB / 0.6708 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4479, allocations: 1.406 kB / 0.6708 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.708e-05/0.4479, allocations: 22.45 kB / 0.6708 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.4481, allocations: 6.875 kB / 0.6708 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.4485, allocations: 186.9 kB / 0.671 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.4486, allocations: 0.6845 MB / 0.6717 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.237e-05/0.4486, allocations: 11.84 kB / 0.6717 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.4486, allocations: 10.12 kB / 0.6717 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of SimCode: time 1.242e-06/0.4486, allocations: 0 / 0.6717 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of Templates: time 0.003004/0.4517, allocations: 0.6572 MB / 0.6724 GB, free: 1.156 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)