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.008316/0.008316, allocations: 102.6 kB / 15.73 MB, free: 5.992 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.002112/0.002112, allocations: 191.2 kB / 16.67 MB, free: 5.91 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.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9876/0.9876, allocations: 135.6 MB / 426.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.89 kB / 0.5862 GB, free: 2.68 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.449, allocations: 81.01 MB / 0.6654 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002072/0.4511, allocations: 1.467 MB / 0.6668 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.452, allocations: 0.6341 MB / 0.6674 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.452, allocations: 1.156 kB / 0.6674 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.705e-05/0.4521, allocations: 7.922 kB / 0.6674 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.729e-05/0.4521, allocations: 9.062 kB / 0.6674 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005263/0.4527, allocations: 163.5 kB / 0.6676 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.844e-05/0.4527, allocations: 50.56 kB / 0.6676 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.357e-05/0.4528, allocations: 6.781 kB / 0.6676 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.4529, allocations: 25.22 kB / 0.6677 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.383e-05/0.4529, allocations: 27.36 kB / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.453, allocations: 5.031 kB / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000452/0.4534, allocations: 356.6 kB / 0.668 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.4534, allocations: 9.141 kB / 0.668 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.4535, allocations: 19.97 kB / 0.6681 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.4537, allocations: 176.5 kB / 0.6682 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4538, allocations: 4.938 kB / 0.6682 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4538, allocations: 0 / 0.6682 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.4538, allocations: 0 / 0.6682 GB, free: 5.121 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005338/0.4543, allocations: 403.7 kB / 0.6686 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.4544, allocations: 13.44 kB / 0.6686 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.4544, allocations: 7.516 kB / 0.6686 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.848e-05/0.4545, allocations: 170.9 kB / 0.6688 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.4545, allocations: 2.938 kB / 0.6688 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.4545, allocations: 9.281 kB / 0.6688 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.4548, allocations: 83.05 kB / 0.6689 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.4548, allocations: 0 / 0.6689 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.4548, allocations: 1.125 kB / 0.6689 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.4548, allocations: 1.188 kB / 0.6689 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.455, allocations: 59 kB / 0.669 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.4555, allocations: 329 kB / 0.6693 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002884/0.4558, allocations: 80.5 kB / 0.6693 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.4559, allocations: 30.56 kB / 0.6694 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.456, allocations: 5.438 kB / 0.6694 GB, free: 4 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.456, allocations: 31.88 kB / 0.6694 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.456, allocations: 0 / 0.6694 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001521/0.4575, allocations: 0.6489 MB / 0.67 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.4576, allocations: 52.81 kB / 0.6701 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.145e-05/0.4576, allocations: 102 kB / 0.6702 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.4576, allocations: 26.95 kB / 0.6702 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.824e-05/0.4577, allocations: 98.69 kB / 0.6703 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.4577, allocations: 35.69 kB / 0.6703 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.4577, allocations: 30.27 kB / 0.6704 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.4578, allocations: 321.5 kB / 0.6707 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.4579, allocations: 33.78 kB / 0.6707 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.4581, allocations: 30.95 kB / 0.6707 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.4583, allocations: 75.45 kB / 0.6708 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4583, allocations: 0 / 0.6708 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002958/0.4586, allocations: 118.6 kB / 0.6709 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.4586, allocations: 6.25 kB / 0.6709 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.4586, allocations: 0 / 0.6709 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4586, allocations: 5.375 kB / 0.6709 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.4588, allocations: 31.78 kB / 0.671 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4588, allocations: 1.312 kB / 0.671 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.176e-05/0.4589, allocations: 7.625 kB / 0.671 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4589, allocations: 2.812 kB / 0.671 GB, free: 2.555 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 (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.149e-05/0.4589, allocations: 116.4 kB / 0.6711 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.459, allocations: 15.5 kB / 0.6711 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003481/0.4593, allocations: 131.5 kB / 0.6712 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4593, allocations: 5.375 kB / 0.6712 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4593, allocations: 0 / 0.6712 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4594, allocations: 0 / 0.6712 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004731/0.4598, allocations: 385.4 kB / 0.6716 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4598, allocations: 5 kB / 0.6716 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001434/0.46, allocations: 28.05 kB / 0.6716 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.46, allocations: 0 / 0.6716 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.46, allocations: 6.469 kB / 0.6716 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.46, allocations: 0 / 0.6716 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.46, allocations: 1.656 kB / 0.6716 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004653/0.4605, allocations: 248.6 kB / 0.6719 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.872e-05/0.4605, allocations: 91.3 kB / 0.672 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.4606, allocations: 5.188 kB / 0.672 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.4607, allocations: 4.406 kB / 0.672 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.765e-05/0.4607, allocations: 7.359 kB / 0.672 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.4607, allocations: 7 kB / 0.672 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.985e-05/0.4607, allocations: 82.62 kB / 0.6721 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4607, allocations: 3.938 kB / 0.6721 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00029/0.461, allocations: 46.55 kB / 0.6721 GB, free: 1.543 MB / 0.4981 GB 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.0001762/0.4612, allocations: 132 kB / 0.6722 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003188/0.4615, allocations: 83.38 kB / 0.6723 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4616, allocations: 3.938 kB / 0.6723 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4617, allocations: 48.36 kB / 0.6724 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.462, allocations: 15.58 kB / 0.6724 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005454/0.4625, allocations: 311.4 kB / 0.6727 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.4626, allocations: 0.6947 MB / 0.6734 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.15e-05/0.4627, allocations: 7.203 kB / 0.6734 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.907e-05/0.4627, allocations: 12.97 kB / 0.6734 GB, free: 408 kB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.4627, allocations: 1.125 kB / 0.6734 GB, free: 408 kB / 0.4981 GB Notification: Performance of Templates: time 0.003713/0.4664, allocations: 1.154 MB / 0.6745 GB, free: 15.84 MB / 0.5137 GB 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)