Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_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.0008526/0.0008526, allocations: 92.2 kB / 20.43 MB, free: 4.129 MB / 18.57 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.0008955/0.0008955, allocations: 173 kB / 23.8 MB, free: 0.7578 MB / 18.57 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.978/0.978, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6456/0.6456, allocations: 115 MB / 375.7 MB, free: 7.664 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.684e-05/2.854e-05, allocations: 4.469 kB / 481.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002521/0.00255, allocations: 1.399 MB / 482.9 MB, free: 10.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003892, allocations: 0.9248 MB / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.003939, allocations: 0 / 483.9 MB, free: 10.38 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.099e-05/0.00397, allocations: 7.406 kB / 483.9 MB, free: 10.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 6.379e-05/0.004034, allocations: 13.36 kB / 483.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.00476, allocations: 219.4 kB / 484.1 MB, free: 10.26 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.004864, allocations: 50.38 kB / 484.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.004914, allocations: 3.25 kB / 484.1 MB, free: 10.24 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.212e-05/0.004976, allocations: 40.31 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.508e-05/0.005041, allocations: 18.22 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.00506, allocations: 4 kB / 484.2 MB, free: 10.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005858/0.005645, allocations: 373.6 kB / 484.6 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.005668, allocations: 14.27 kB / 484.6 MB, free: 10.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.005701, allocations: 12.28 kB / 484.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004481/0.006149, allocations: 315.1 kB / 484.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.006153, allocations: 4.109 kB / 484.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006155, allocations: 0 / 484.9 MB, free: 10.05 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00616, allocations: 0.5 kB / 484.9 MB, free: 10.05 MB / 410.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.0004285/0.006588, allocations: 456.4 kB / 485.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.006636, allocations: 9.25 kB / 485.4 MB, free: 9.609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.006887, allocations: 29.2 kB / 485.4 MB, free: 9.602 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.622e-05/0.006973, allocations: 115.9 kB / 485.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.00699, allocations: 1.625 kB / 485.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.007027, allocations: 5.25 kB / 485.5 MB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.007208, allocations: 125.3 kB / 485.6 MB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.00722, allocations: 5.188 kB / 485.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.007233, allocations: 4.859 kB / 485.6 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.007241, allocations: 1.094 kB / 485.6 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.176e-05/0.007303, allocations: 21.47 kB / 485.7 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.007462, allocations: 143.1 kB / 485.8 MB, free: 9.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.007605, allocations: 67.75 kB / 485.9 MB, free: 9.137 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.007654, allocations: 27.86 kB / 485.9 MB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.007674, allocations: 5.812 kB / 485.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.083e-05/0.007694, allocations: 36.23 kB / 485.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.007695, allocations: 0.5625 kB / 485.9 MB, free: 9.074 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: dp Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.003478/0.01117, allocations: 0.8398 MB / 486.8 MB, free: 8.676 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.0112, allocations: 54.66 kB / 486.8 MB, free: 8.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.741e-05/0.0113, allocations: 179 kB / 487 MB, free: 8.441 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.01132, allocations: 31.27 kB / 487 MB, free: 8.406 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/0.01155, allocations: 136.2 kB / 487.2 MB, free: 24.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.01159, allocations: 36.05 kB / 487.2 MB, free: 24.24 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.865e-05/0.01168, allocations: 51.97 kB / 487.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.01181, allocations: 0.4906 MB / 487.8 MB, free: 23.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.01196, allocations: 81.64 kB / 487.8 MB, free: 23.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.01211, allocations: 80.91 kB / 487.9 MB, free: 23.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.01237, allocations: 182.1 kB / 488.1 MB, free: 23.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01237, allocations: 0.8438 kB / 488.1 MB, free: 23.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003401/0.01271, allocations: 237.6 kB / 488.3 MB, free: 23.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.01274, allocations: 13.56 kB / 488.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.01276, allocations: 2.594 kB / 488.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.01278, allocations: 0 / 488.3 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001805/0.01296, allocations: 29 kB / 488.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.01297, allocations: 2.375 kB / 488.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.629e-05/0.01304, allocations: 11.31 kB / 488.4 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.01306, allocations: 3.125 kB / 488.4 MB, free: 23.55 MB / 426.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 (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001044/0.01316, allocations: 168.9 kB / 488.5 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.0132, allocations: 13.17 kB / 488.6 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.01325, allocations: 13.81 kB / 488.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.01326, allocations: 1.188 kB / 488.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.01326, allocations: 0 / 488.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.01327, allocations: 1.375 kB / 488.6 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005015/0.01377, allocations: 423.9 kB / 489 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01377, allocations: 0.9062 kB / 489 MB, free: 23.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.01392, allocations: 35.31 kB / 489 MB, free: 23.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.01392, allocations: 9.297 kB / 489 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.01394, allocations: 1.344 kB / 489 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.01394, allocations: 3.406 kB / 489 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01394, allocations: 1.312 kB / 489 MB, free: 23.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.01434, allocations: 363 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.028e-05/0.01436, allocations: 6.484 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.01438, allocations: 1.562 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.01447, allocations: 11.44 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.928e-05/0.0145, allocations: 6.078 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.01451, allocations: 7.266 kB / 489.4 MB, free: 22.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.23e-05/0.01456, allocations: 138.5 kB / 489.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01456, allocations: 7.875 kB / 489.6 MB, free: 22.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002179/0.01478, allocations: 39.66 kB / 489.6 MB, free: 22.65 MB / 426.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 () * 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.0001896/0.01497, allocations: 114.7 kB / 489.7 MB, free: 22.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.01529, allocations: 200.5 kB / 489.9 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.01529, allocations: 0 / 489.9 MB, free: 22.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.108e-05/0.01538, allocations: 79.56 kB / 490 MB, free: 22.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.0156, allocations: 24.09 kB / 490 MB, free: 22.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.01661, allocations: 359.9 kB / 490.4 MB, free: 22.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.691e-05/0.01665, allocations: 62.8 kB / 490.4 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.01673, allocations: 20.67 kB / 490.4 MB, free: 22.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.0168, allocations: 18.55 kB / 490.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.0168, allocations: 0.9688 kB / 490.5 MB, free: 22.2 MB / 426.7 MB Notification: Performance of Templates: time 0.004646/0.02144, allocations: 2.334 MB / 492.8 MB, free: 22.05 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8328955806791782]