Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 119.1 kB / 17.04 MB, free: 5.82 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.001144/0.001144, allocations: 198.8 kB / 17.99 MB, free: 4.996 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 115.1 MB / 406.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 63.89 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3217, allocations: 76.15 MB / 0.5576 GB, free: 37 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002287/0.324, allocations: 1.256 MB / 0.5588 GB, free: 36.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008287/0.3249, allocations: 0.6116 MB / 0.5594 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.3249, allocations: 0.8438 kB / 0.5594 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.3249, allocations: 0.5625 kB / 0.5594 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.325, allocations: 7.281 kB / 0.5594 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.3256, allocations: 145.3 kB / 0.5596 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.408e-05/0.3256, allocations: 24.33 kB / 0.5596 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.555e-05/0.3257, allocations: 2.984 kB / 0.5596 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.569e-05/0.3257, allocations: 5.344 kB / 0.5596 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.003e-05/0.3258, allocations: 18.25 kB / 0.5596 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.3258, allocations: 0 / 0.5596 GB, free: 35.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005465/0.3264, allocations: 347.5 kB / 0.5599 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.3264, allocations: 0.6562 kB / 0.5599 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.3264, allocations: 12.66 kB / 0.5599 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.3267, allocations: 153.1 kB / 0.5601 GB, free: 35.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3267, allocations: 0.7031 kB / 0.5601 GB, free: 35.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3267, allocations: 1.312 kB / 0.5601 GB, free: 35.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.3267, allocations: 0.9375 kB / 0.5601 GB, free: 35.46 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003204/0.327, allocations: 355.5 kB / 0.5604 GB, free: 35.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.3271, allocations: 9.828 kB / 0.5604 GB, free: 35.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.164e-05/0.3271, allocations: 7.188 kB / 0.5604 GB, free: 35.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.271e-05/0.3272, allocations: 167 kB / 0.5606 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.594e-06/0.3272, allocations: 1.75 kB / 0.5606 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.3272, allocations: 1.5 kB / 0.5606 GB, free: 34.88 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.234e-05/0.3273, allocations: 41.7 kB / 0.5606 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3273, allocations: 1.5 kB / 0.5607 GB, free: 34.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3274, allocations: 9.188 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.3274, allocations: 1.469 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.699e-05/0.3274, allocations: 10.67 kB / 0.5607 GB, free: 34.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.3275, allocations: 156.3 kB / 0.5608 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3277, allocations: 49.08 kB / 0.5609 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.3277, allocations: 19.39 kB / 0.5609 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.3278, allocations: 1.906 kB / 0.5609 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.3278, allocations: 37.12 kB / 0.5609 GB, free: 34.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3278, allocations: 0 / 0.5609 GB, free: 34.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005257/0.3283, allocations: 310.8 kB / 0.5612 GB, free: 34.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.274e-05/0.3284, allocations: 53.31 kB / 0.5613 GB, free: 34.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.312e-05/0.3284, allocations: 95.95 kB / 0.5614 GB, free: 34.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.395e-06/0.3284, allocations: 25.7 kB / 0.5614 GB, free: 34.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.637e-05/0.3284, allocations: 90.56 kB / 0.5615 GB, free: 33.99 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.3285, allocations: 19.75 kB / 0.5615 GB, free: 33.97 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.3285, allocations: 22.8 kB / 0.5615 GB, free: 33.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.065e-05/0.3286, allocations: 316.3 kB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.542e-05/0.3286, allocations: 8.203 kB / 0.5618 GB, free: 33.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.332e-05/0.3286, allocations: 15.78 kB / 0.5618 GB, free: 33.63 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.408e-05/0.3287, allocations: 34.75 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3287, allocations: 0.5312 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.89e-05/0.3288, allocations: 67.31 kB / 0.5619 GB, free: 33.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.3288, allocations: 10.64 kB / 0.5619 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3288, allocations: 1.188 kB / 0.5619 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.3288, allocations: 2.188 kB / 0.5619 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.308e-05/0.3289, allocations: 14.64 kB / 0.562 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3289, allocations: 0.9062 kB / 0.562 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.3289, allocations: 5.031 kB / 0.562 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/0.3289, allocations: 3.266 kB / 0.562 GB, free: 33.55 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 (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.355e-05/0.329, allocations: 108.9 kB / 0.5621 GB, free: 33.44 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.329, allocations: 6.406 kB / 0.5621 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3291, allocations: 81.59 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3292, allocations: 2.094 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3292, allocations: 0 / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3292, allocations: 1.797 kB / 0.5622 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.3294, allocations: 317.8 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3294, allocations: 3.125 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.425e-05/0.3295, allocations: 10.86 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3295, allocations: 1.156 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.3295, allocations: 1.891 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3295, allocations: 5.594 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3295, allocations: 0.9375 kB / 0.5625 GB, free: 33.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.3297, allocations: 186.1 kB / 0.5627 GB, free: 32.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.282e-05/0.3297, allocations: 82.86 kB / 0.5627 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.3298, allocations: 5.062 kB / 0.5627 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.27e-05/0.3298, allocations: 2.047 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/0.3299, allocations: 4.781 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3299, allocations: 2.984 kB / 0.5628 GB, free: 32.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2e-05/0.3299, allocations: 84.69 kB / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3299, allocations: 0 / 0.5628 GB, free: 32.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.3302, allocations: 23.95 kB / 0.5629 GB, free: 32.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0001822/0.3304, allocations: 121.2 kB / 0.563 GB, free: 32.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.3305, allocations: 41.75 kB / 0.563 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3305, allocations: 1.75 kB / 0.563 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.3305, allocations: 16.44 kB / 0.563 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.3307, allocations: 7.188 kB / 0.563 GB, free: 32.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.3311, allocations: 186.2 kB / 0.5632 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001019/0.3312, allocations: 0.6797 MB / 0.5639 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.757e-05/0.3313, allocations: 6.016 kB / 0.5639 GB, free: 31.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.812e-05/0.3313, allocations: 12.55 kB / 0.5639 GB, free: 31.75 MB / 446.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3313, allocations: 0 / 0.5639 GB, free: 31.75 MB / 446.1 MB Notification: Performance of Templates: time 0.002915/0.3342, allocations: 0.6367 MB / 0.5645 GB, free: 31.71 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)