Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5214/0.5214, allocations: 90.92 MB / 99.35 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000853/0.0008531, allocations: 93.72 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.56e-05/1.542e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1407, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5801, allocations: 101.8 MB / 0.6529 GB, free: 8.488 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.5804, allocations: 72.89 kB / 0.653 GB, free: 8.445 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01288/0.5933, allocations: 4.541 MB / 0.6574 GB, free: 4.695 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5933, allocations: 0 / 0.6574 GB, free: 4.695 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.5933, allocations: 0 / 0.6574 GB, free: 4.695 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003586/0.5937, allocations: 346.2 kB / 0.6577 GB, free: 4.316 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.5938, allocations: 8.031 kB / 0.6577 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.086e-05/0.5938, allocations: 11.94 kB / 0.6578 GB, free: 4.297 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.5939, allocations: 170.9 kB / 0.6579 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.242e-05/0.594, allocations: 0 / 0.6579 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.594, allocations: 4 kB / 0.6579 GB, free: 4.086 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.438e-05/0.5941, allocations: 24.38 kB / 0.6579 GB, free: 4.066 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.961e-05/0.5942, allocations: 44.5 kB / 0.658 GB, free: 4.023 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.5942, allocations: 4 kB / 0.658 GB, free: 4.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.5942, allocations: 3.953 kB / 0.658 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.5942, allocations: 0 / 0.658 GB, free: 4.016 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.5944, allocations: 137.7 kB / 0.6581 GB, free: 3.848 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.923e-05/0.5945, allocations: 48.25 kB / 0.6582 GB, free: 3.801 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.5945, allocations: 31.8 kB / 0.6582 GB, free: 3.773 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.5946, allocations: 4 kB / 0.6582 GB, free: 3.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.5946, allocations: 34 kB / 0.6582 GB, free: 3.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.5946, allocations: 3.938 kB / 0.6582 GB, free: 3.727 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008082/0.5954, allocations: 0.5158 MB / 0.6588 GB, free: 3.152 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.5955, allocations: 63.3 kB / 0.6588 GB, free: 3.078 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.534e-05/0.5955, allocations: 89 kB / 0.6589 GB, free: 2.984 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.5955, allocations: 25.7 kB / 0.6589 GB, free: 2.953 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.5956, allocations: 80.14 kB / 0.659 GB, free: 2.871 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.717e-05/0.5956, allocations: 41.33 kB / 0.659 GB, free: 2.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5956, allocations: 0 / 0.659 GB, free: 2.836 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5957, allocations: 313.6 kB / 0.6593 GB, free: 2.523 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/0.5958, allocations: 18 kB / 0.6594 GB, free: 2.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.5958, allocations: 21.73 kB / 0.6594 GB, free: 2.496 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.5959, allocations: 23.5 kB / 0.6594 GB, free: 2.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.5959, allocations: 0 / 0.6594 GB, free: 2.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000119/0.596, allocations: 91.77 kB / 0.6595 GB, free: 2.395 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.596, allocations: 4 kB / 0.6595 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.596, allocations: 0 / 0.6595 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.596, allocations: 0 / 0.6595 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.5961, allocations: 27.88 kB / 0.6595 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.5962, allocations: 5 kB / 0.6595 GB, free: 2.363 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.6e-05/0.5962, allocations: 3.953 kB / 0.6595 GB, free: 2.359 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.5962, allocations: 7.938 kB / 0.6595 GB, free: 2.352 MB / 458.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.5963, allocations: 105 kB / 0.6596 GB, free: 2.242 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.5963, allocations: 4 kB / 0.6596 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.5965, allocations: 88.44 kB / 0.6597 GB, free: 2.164 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5965, allocations: 4 kB / 0.6597 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.5965, allocations: 0 / 0.6597 GB, free: 2.16 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5965, allocations: 3.984 kB / 0.6597 GB, free: 2.156 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.5969, allocations: 315.9 kB / 0.66 GB, free: 1.824 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.5969, allocations: 4 kB / 0.66 GB, free: 1.82 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.597, allocations: 23.98 kB / 0.6601 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.597, allocations: 0 / 0.6601 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.597, allocations: 0 / 0.6601 GB, free: 1.797 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.597, allocations: 3.938 kB / 0.6601 GB, free: 1.793 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.597, allocations: 4 kB / 0.6601 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002166/0.5972, allocations: 208.1 kB / 0.6603 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/0.5973, allocations: 89.03 kB / 0.6603 GB, free: 1.488 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.5973, allocations: 4.062 kB / 0.6603 GB, free: 1.484 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.5974, allocations: 4 kB / 0.6604 GB, free: 1.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.5974, allocations: 8.078 kB / 0.6604 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.5975, allocations: 7.938 kB / 0.6604 GB, free: 1.465 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.525e-05/0.5975, allocations: 78.28 kB / 0.6604 GB, free: 1.391 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5975, allocations: 0 / 0.6604 GB, free: 1.391 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.5978, allocations: 47.88 kB / 0.6605 GB, free: 1.344 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002248/0.598, allocations: 139.2 kB / 0.6606 GB, free: 1.195 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001188/0.5981, allocations: 56.02 kB / 0.6607 GB, free: 1.156 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5981, allocations: 0 / 0.6607 GB, free: 1.156 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.248e-05/0.5982, allocations: 31.31 kB / 0.6607 GB, free: 1.133 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.5984, allocations: 6.047 kB / 0.6607 GB, free: 1.129 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004339/0.5988, allocations: 219.7 kB / 0.6609 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.5991, allocations: 0.6924 MB / 0.6616 GB, free: 180 kB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.5991, allocations: 4 kB / 0.6616 GB, free: 176 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.5991, allocations: 11.44 kB / 0.6616 GB, free: 164 kB / 458.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5991, allocations: 0 / 0.6616 GB, free: 164 kB / 458.7 MB Notification: Performance of Templates: time 0.003125/0.6023, allocations: 0.8517 MB / 0.6624 GB, free: 15.35 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)