Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007442/0.0007442, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001893, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007449/0.0007449, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001042/0.001787, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9365/0.9365, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08254/1.019, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5691/0.5691, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.05511/0.6242, allocations: 38.17 MB / 402.4 MB, free: 12.26 MB / 394.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 403.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.118e-05, allocations: 2.312 kB / 403.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.00275/0.002771, allocations: 1.435 MB / 405.2 MB, free: 9.434 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009804/0.003751, allocations: 0.6031 MB / 405.8 MB, free: 8.828 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.329e-05/0.003774, allocations: 4 kB / 405.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.003787, allocations: 7.922 kB / 405.8 MB, free: 8.816 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.003816, allocations: 3.984 kB / 405.8 MB, free: 8.812 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.00422, allocations: 155.2 kB / 406 MB, free: 8.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.763e-05/0.004278, allocations: 31.86 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.57e-05/0.004314, allocations: 0 / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.439e-05/0.004368, allocations: 27.95 kB / 406 MB, free: 8.602 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.767e-05/0.004426, allocations: 7.938 kB / 406 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.004435, allocations: 4 kB / 406 MB, free: 8.59 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003504/0.004786, allocations: 331.3 kB / 406.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.004802, allocations: 4 kB / 406.4 MB, free: 8.262 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.004817, allocations: 8 kB / 406.4 MB, free: 8.254 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.004999, allocations: 135.5 kB / 406.5 MB, free: 8.121 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-05/0.005011, allocations: 7.984 kB / 406.5 MB, free: 8.113 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.005013, allocations: 0 / 406.5 MB, free: 8.113 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.005022, allocations: 0 / 406.5 MB, free: 8.113 MB / 394.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.0002944/0.005316, allocations: 284.2 kB / 406.8 MB, free: 7.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.005342, allocations: 12.03 kB / 406.8 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.00537, allocations: 16.92 kB / 406.8 MB, free: 7.785 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.005436, allocations: 105.8 kB / 406.9 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.005446, allocations: 8.312 kB / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.005469, allocations: 8.359 kB / 407 MB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.055e-05/0.005549, allocations: 93.66 kB / 407 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.005558, allocations: 7.922 kB / 407 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-06/0.005565, allocations: 0 / 407 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005569, allocations: 3.938 kB / 407.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.21e-05/0.005591, allocations: 11.98 kB / 407.1 MB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.917e-05/0.00568, allocations: 69.05 kB / 407.1 MB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.006e-05/0.00575, allocations: 58.56 kB / 407.2 MB, free: 7.359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.005769, allocations: 16.84 kB / 407.2 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.005785, allocations: 4 kB / 407.2 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.005803, allocations: 30.56 kB / 407.2 MB, free: 7.297 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 5.51e-07/0.005803, allocations: 0 / 407.2 MB, free: 7.297 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006959/0.006499, allocations: 447.6 kB / 407.7 MB, free: 6.805 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/0.006521, allocations: 55.34 kB / 407.7 MB, free: 6.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.525e-05/0.006566, allocations: 102.7 kB / 407.8 MB, free: 6.625 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.848e-06/0.006576, allocations: 29.7 kB / 407.9 MB, free: 6.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.776e-05/0.006593, allocations: 84.14 kB / 407.9 MB, free: 6.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.065e-05/0.006624, allocations: 39.64 kB / 408 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.963e-05/0.006654, allocations: 29.69 kB / 408 MB, free: 6.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.553e-05/0.006719, allocations: 314.8 kB / 408.3 MB, free: 6.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.006733, allocations: 16.11 kB / 408.3 MB, free: 6.098 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.006747, allocations: 12 kB / 408.3 MB, free: 6.086 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.006786, allocations: 36.83 kB / 408.4 MB, free: 6.047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.006789, allocations: 4 kB / 408.4 MB, free: 6.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.379e-05/0.006852, allocations: 73.61 kB / 408.5 MB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.006863, allocations: 4 kB / 408.5 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.006868, allocations: 3.938 kB / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.006877, allocations: 0 / 408.5 MB, free: 5.957 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.00694, allocations: 23.98 kB / 408.5 MB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.006944, allocations: 4 kB / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.006956, allocations: 0 / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.491e-06/0.006961, allocations: 8 kB / 408.5 MB, free: 5.922 MB / 394.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 (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 4.696e-05/0.007008, allocations: 109.8 kB / 408.6 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.007017, allocations: 8 kB / 408.6 MB, free: 5.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.988e-05/0.007107, allocations: 85.59 kB / 408.7 MB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.007109, allocations: 4 kB / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.00711, allocations: 0 / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.007113, allocations: 0 / 408.7 MB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.007291, allocations: 226.8 kB / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007292, allocations: 0 / 408.9 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.007356, allocations: 27.97 kB / 409 MB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.603e-06/0.007363, allocations: 11.89 kB / 409 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.007366, allocations: 4 kB / 409 MB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.007372, allocations: 4 kB / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.007373, allocations: 0 / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007374, allocations: 0 / 409 MB, free: 5.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000112/0.007486, allocations: 175.5 kB / 409.1 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.0075, allocations: 11.86 kB / 409.2 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.722e-05/0.007537, allocations: 4 kB / 409.2 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.367e-05/0.00755, allocations: 7.984 kB / 409.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-06/0.007556, allocations: 4 kB / 409.2 MB, free: 5.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.756e-06/0.007565, allocations: 8.891 kB / 409.2 MB, free: 5.188 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007565, allocations: 0 / 409.2 MB, free: 5.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.007735, allocations: 63.73 kB / 409.2 MB, free: 5.125 MB / 394.7 MB 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.0001843/0.00792, allocations: 160 kB / 409.4 MB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.007989, allocations: 45.16 kB / 409.4 MB, free: 4.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.007995, allocations: 4 kB / 409.4 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.008025, allocations: 40.72 kB / 409.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001005/0.008125, allocations: 8.766 kB / 409.5 MB, free: 4.855 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009158/0.009041, allocations: 180.8 kB / 409.7 MB, free: 4.652 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.009071, allocations: 63.34 kB / 409.7 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.305e-05/0.009105, allocations: 4 kB / 409.7 MB, free: 4.566 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.009151, allocations: 71.36 kB / 409.8 MB, free: 4.496 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009152, allocations: 4 kB / 409.8 MB, free: 4.492 MB / 394.7 MB Notification: Performance of Templates: time 0.002639/0.01179, allocations: 1.568 MB / 411.4 MB, free: 2.922 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1187895024195313]