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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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_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/Complex 4.0.0+maint.om/package.mo): time 0.0009279/0.0009278, allocations: 172 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4632/0.4632, allocations: 86.27 MB / 103.8 MB, free: 14.54 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 223.2 MB / 348.4 MB, free: 4.973 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000875/0.0008753, allocations: 93.44 kB / 420.2 MB, free: 9.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004064/0.0004069, allocations: 19.98 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4618/0.4622, allocations: 71.01 MB / 0.5594 GB, free: 43.77 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.5991, allocations: 101 MB / 0.6581 GB, free: 8.531 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5994, allocations: 75.95 kB / 0.6581 GB, free: 8.457 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01146/0.6109, allocations: 4.059 MB / 0.6621 GB, free: 4.402 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.6109, allocations: 0 / 0.6621 GB, free: 4.402 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.611, allocations: 0 / 0.6621 GB, free: 4.402 MB / 474.7 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.0004078/0.6114, allocations: 347.5 kB / 0.6624 GB, free: 4.012 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.6114, allocations: 16.03 kB / 0.6624 GB, free: 3.996 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.6115, allocations: 4.844 kB / 0.6624 GB, free: 3.992 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.6116, allocations: 164.3 kB / 0.6626 GB, free: 3.793 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.6116, allocations: 4.375 kB / 0.6626 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.6117, allocations: 384 / 0.6626 GB, free: 3.789 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.6118, allocations: 42.25 kB / 0.6626 GB, free: 3.742 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.6118, allocations: 4.125 kB / 0.6626 GB, free: 3.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.6118, allocations: 3.938 kB / 0.6626 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.6118, allocations: 0 / 0.6626 GB, free: 3.734 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.184e-05/0.6119, allocations: 15.92 kB / 0.6627 GB, free: 3.719 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.6121, allocations: 165.7 kB / 0.6628 GB, free: 3.508 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.6123, allocations: 42.56 kB / 0.6629 GB, free: 3.457 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.529e-05/0.6123, allocations: 16.86 kB / 0.6629 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.6123, allocations: 0 / 0.6629 GB, free: 3.438 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.6124, allocations: 34.5 kB / 0.6629 GB, free: 3.395 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.6124, allocations: 4 kB / 0.6629 GB, free: 3.391 MB / 474.7 MB Notification: Performance of matching and sorting (n=6): time 0.0006636/0.6131, allocations: 318.6 kB / 0.6632 GB, free: 3.027 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6131, allocations: 55.41 kB / 0.6633 GB, free: 2.961 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.739e-05/0.6132, allocations: 93.86 kB / 0.6634 GB, free: 2.859 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.6132, allocations: 25.7 kB / 0.6634 GB, free: 2.828 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.257e-05/0.6132, allocations: 84.14 kB / 0.6635 GB, free: 2.742 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.6133, allocations: 23.64 kB / 0.6635 GB, free: 2.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.6133, allocations: 0 / 0.6635 GB, free: 2.719 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.6134, allocations: 318.8 kB / 0.6638 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.768e-05/0.6135, allocations: 15.98 kB / 0.6638 GB, free: 2.383 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.6135, allocations: 4 kB / 0.6638 GB, free: 2.379 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.6136, allocations: 32.86 kB / 0.6638 GB, free: 2.344 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.6136, allocations: 0 / 0.6638 GB, free: 2.344 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000107/0.6137, allocations: 73.52 kB / 0.6639 GB, free: 2.266 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.6137, allocations: 7.938 kB / 0.6639 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.6137, allocations: 0 / 0.6639 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.6137, allocations: 0 / 0.6639 GB, free: 2.258 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.6138, allocations: 23.98 kB / 0.6639 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.6138, allocations: 0 / 0.6639 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.702e-05/0.6138, allocations: 0 / 0.6639 GB, free: 2.234 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.6139, allocations: 4 kB / 0.6639 GB, free: 2.23 MB / 474.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.6139, allocations: 109.8 kB / 0.6641 GB, free: 2.113 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.494e-05/0.614, allocations: 7.938 kB / 0.6641 GB, free: 2.105 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6141, allocations: 77.8 kB / 0.6641 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6142, allocations: 0 / 0.6641 GB, free: 2.012 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.6142, allocations: 4 kB / 0.6641 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6142, allocations: 0 / 0.6641 GB, free: 2.008 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003557/0.6145, allocations: 311.4 kB / 0.6644 GB, free: 1.645 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.6145, allocations: 0 / 0.6644 GB, free: 1.645 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.6146, allocations: 12 kB / 0.6644 GB, free: 1.633 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.6146, allocations: 3.938 kB / 0.6644 GB, free: 1.629 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.6146, allocations: 3.984 kB / 0.6645 GB, free: 1.625 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6146, allocations: 4 kB / 0.6645 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6147, allocations: 0 / 0.6645 GB, free: 1.621 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.6149, allocations: 184.4 kB / 0.6646 GB, free: 1.422 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.6149, allocations: 89.19 kB / 0.6647 GB, free: 1.316 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.615, allocations: 4 kB / 0.6647 GB, free: 1.312 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.615, allocations: 3.938 kB / 0.6647 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.6151, allocations: 4 kB / 0.6647 GB, free: 1.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.6151, allocations: 7.984 kB / 0.6647 GB, free: 1.297 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.081e-05/0.6151, allocations: 83.34 kB / 0.6648 GB, free: 1.215 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6151, allocations: 0 / 0.6648 GB, free: 1.215 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002587/0.6154, allocations: 20 kB / 0.6648 GB, free: 1.195 MB / 474.7 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 (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.0002485/0.6156, allocations: 135.2 kB / 0.665 GB, free: 1.055 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001299/0.6158, allocations: 27.94 kB / 0.665 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.6158, allocations: 0 / 0.665 GB, free: 1.027 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.07e-05/0.6159, allocations: 19.98 kB / 0.665 GB, free: 1.008 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.6162, allocations: 11.94 kB / 0.665 GB, free: 0.9961 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.6168, allocations: 213.9 kB / 0.6652 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.6171, allocations: 0.6848 MB / 0.6659 GB, free: 48 kB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.406e-05/0.6172, allocations: 8 kB / 0.6659 GB, free: 40 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.217e-05/0.6172, allocations: 15.42 kB / 0.6659 GB, free: 24 kB / 474.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6173, allocations: 0 / 0.6659 GB, free: 24 kB / 474.7 MB Notification: Performance of Templates: time 0.003688/0.621, allocations: 0.593 MB / 0.6665 GB, free: 15.45 MB / 490.7 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)