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.001621/0.00162, allocations: 115 kB / 16.42 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.001823/0.001823, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.294/1.294, allocations: 222.9 MB / 241.1 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.7949/0.7949, allocations: 135.1 MB / 426.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 71.3 kB / 0.5863 GB, free: 21.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1219, allocations: 80.92 MB / 0.6653 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001989/0.1239, allocations: 1.281 MB / 0.6666 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009135/0.1248, allocations: 0.6036 MB / 0.6672 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.1248, allocations: 0 / 0.6672 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.1249, allocations: 3.938 kB / 0.6672 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.067e-05/0.1249, allocations: 3.984 kB / 0.6672 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.1254, allocations: 154.7 kB / 0.6673 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.314e-05/0.1255, allocations: 19.88 kB / 0.6673 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.1255, allocations: 11.98 kB / 0.6673 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.189e-05/0.1255, allocations: 7.938 kB / 0.6673 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.387e-05/0.1256, allocations: 11.98 kB / 0.6674 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.1256, allocations: 0 / 0.6674 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004839/0.1261, allocations: 339.3 kB / 0.6677 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.1261, allocations: 11.92 kB / 0.6677 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.1262, allocations: 7.984 kB / 0.6677 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1264, allocations: 143.5 kB / 0.6678 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.1264, allocations: 0 / 0.6678 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1264, allocations: 0 / 0.6678 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1264, allocations: 0 / 0.6678 GB, free: 3.355 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.0003869/0.1268, allocations: 367.1 kB / 0.6682 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1269, allocations: 9.109 kB / 0.6682 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1269, allocations: 4.938 kB / 0.6682 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001085/0.127, allocations: 176.2 kB / 0.6684 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.127, allocations: 384 / 0.6684 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.127, allocations: 4.375 kB / 0.6684 GB, free: 2.723 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.923e-05/0.1272, allocations: 41.62 kB / 0.6684 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.1272, allocations: 4 kB / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.1272, allocations: 0 / 0.6684 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1272, allocations: 4 kB / 0.6684 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.1272, allocations: 11.92 kB / 0.6684 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1274, allocations: 161.7 kB / 0.6686 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1275, allocations: 38.56 kB / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.1276, allocations: 16.86 kB / 0.6686 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1276, allocations: 3.938 kB / 0.6686 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1276, allocations: 38.56 kB / 0.6687 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1276, allocations: 0 / 0.6687 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005382/0.1282, allocations: 314.3 kB / 0.669 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.09e-05/0.1282, allocations: 55.34 kB / 0.669 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.1283, allocations: 97.86 kB / 0.6691 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.1283, allocations: 25.7 kB / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.1283, allocations: 80.14 kB / 0.6692 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1284, allocations: 31.78 kB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.1284, allocations: 17.72 kB / 0.6693 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/0.1285, allocations: 314.8 kB / 0.6696 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.564e-05/0.1285, allocations: 12 kB / 0.6696 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.065e-05/0.1286, allocations: 12 kB / 0.6696 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/0.1286, allocations: 32.84 kB / 0.6696 GB, free: 1.258 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1286, allocations: 3.938 kB / 0.6696 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.186e-05/0.1287, allocations: 65.58 kB / 0.6697 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1287, allocations: 11.98 kB / 0.6697 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1287, allocations: 4 kB / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.097e-06/0.1288, allocations: 0 / 0.6697 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.839e-05/0.1288, allocations: 8.578 kB / 0.6697 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1288, allocations: 8 kB / 0.6697 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.738e-05/0.1288, allocations: 0 / 0.6697 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1289, allocations: 0 / 0.6697 GB, free: 1.152 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 6.47e-05/0.1289, allocations: 113.8 kB / 0.6698 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.765e-05/0.129, allocations: 7.891 kB / 0.6698 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001278/0.1291, allocations: 81.52 kB / 0.6699 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.1291, allocations: 3.984 kB / 0.6699 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1291, allocations: 4 kB / 0.6699 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.785e-05/0.1292, allocations: 81.09 kB / 0.67 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.1292, allocations: 4 kB / 0.67 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.019e-05/0.1292, allocations: 4 kB / 0.67 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.1293, allocations: 0 / 0.67 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001522/0.1294, allocations: 148.9 kB / 0.6702 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001851/0.1296, allocations: 258.7 kB / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.184e-05/0.1296, allocations: 16.02 kB / 0.6704 GB, free: 396 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.778e-05/0.1297, allocations: 79.28 kB / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of Backend: time 2.71e-07/0.1297, allocations: 4 kB / 0.6705 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004606/0.1302, allocations: 158.2 kB / 0.6706 GB, free: 152 kB / 0.4981 GB Notification: Performance of SimCode: time 0.0004745/0.1306, allocations: 0.6369 MB / 0.6713 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of Templates: time 0.003319/0.134, allocations: 1.248 MB / 0.6725 GB, free: 14.25 MB / 0.5137 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)