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.001389/0.001389, allocations: 107.7 kB / 19.71 MB, free: 436 kB / 13.93 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.001511/0.001511, allocations: 216.7 kB / 23 MB, free: 2.977 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 1.575/1.575, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] 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 1.043/1.043, allocations: 151.4 MB / 464.5 MB, free: 12.96 MB / 362.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 71.23 kB / 0.6438 GB, free: 17.45 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1966, allocations: 89.57 MB / 0.7313 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.00351/0.2001, allocations: 1.36 MB / 0.7326 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001851/0.2019, allocations: 0.8676 MB / 0.7335 GB, free: 5.617 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.202, allocations: 4 kB / 0.7335 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.202, allocations: 3.938 kB / 0.7335 GB, free: 5.609 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 6.766e-05/0.2021, allocations: 3.938 kB / 0.7335 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009167/0.203, allocations: 222.9 kB / 0.7337 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2031, allocations: 51.84 kB / 0.7337 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 4.492e-05/0.2032, allocations: 4 kB / 0.7337 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 4.271e-05/0.2032, allocations: 19.92 kB / 0.7338 GB, free: 5.312 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 7.133e-05/0.2033, allocations: 27.84 kB / 0.7338 GB, free: 5.285 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2033, allocations: 4 kB / 0.7338 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000678/0.204, allocations: 383.5 kB / 0.7342 GB, free: 4.906 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.204, allocations: 11.94 kB / 0.7342 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 3.867e-05/0.204, allocations: 19.92 kB / 0.7342 GB, free: 4.875 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.0004616/0.2045, allocations: 271.2 kB / 0.7344 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2045, allocations: 0 / 0.7344 GB, free: 4.609 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.479e-06/0.2045, allocations: 4 kB / 0.7345 GB, free: 4.605 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.2045, allocations: 0 / 0.7345 GB, free: 4.605 MB / 0.5417 GB 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.0005694/0.2051, allocations: 353.3 kB / 0.7348 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2051, allocations: 8.031 kB / 0.7348 GB, free: 4.223 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.2054, allocations: 28.86 kB / 0.7348 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.2055, allocations: 114.5 kB / 0.7349 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.2055, allocations: 4.375 kB / 0.7349 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.281e-05/0.2056, allocations: 16.27 kB / 0.735 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/0.2058, allocations: 109 kB / 0.7351 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.2058, allocations: 4 kB / 0.7351 GB, free: 3.91 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2058, allocations: 4 kB / 0.7351 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2058, allocations: 0 / 0.7351 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.206, allocations: 39.89 kB / 0.7351 GB, free: 3.867 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001931/0.2062, allocations: 121.3 kB / 0.7352 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002592/0.2064, allocations: 78.53 kB / 0.7353 GB, free: 3.633 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.65e-05/0.2065, allocations: 32.84 kB / 0.7353 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.2066, allocations: 240 / 0.7353 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.2066, allocations: 38.5 kB / 0.7354 GB, free: 3.551 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.2066, allocations: 0 / 0.7354 GB, free: 3.551 MB / 0.5417 GB 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.005631/0.2122, allocations: 0.9823 MB / 0.7363 GB, free: 2.512 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.878e-05/0.2123, allocations: 55.41 kB / 0.7364 GB, free: 2.445 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2124, allocations: 117.8 kB / 0.7365 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.2124, allocations: 33.7 kB / 0.7365 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/0.2125, allocations: 84.38 kB / 0.7366 GB, free: 2.191 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.216e-05/0.2126, allocations: 39.69 kB / 0.7366 GB, free: 2.152 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2127, allocations: 41.69 kB / 0.7367 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.2128, allocations: 318.8 kB / 0.737 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2131, allocations: 87.95 kB / 0.7371 GB, free: 1.699 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.2134, allocations: 107.9 kB / 0.7372 GB, free: 1.594 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.2139, allocations: 187.6 kB / 0.7373 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2139, allocations: 0 / 0.7373 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000645/0.2145, allocations: 253.4 kB / 0.7376 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2145, allocations: 4 kB / 0.7376 GB, free: 1.152 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.2146, allocations: 4 kB / 0.7376 GB, free: 1.148 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.2146, allocations: 4 kB / 0.7376 GB, free: 1.145 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.2149, allocations: 27.97 kB / 0.7376 GB, free: 1.117 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.2149, allocations: 4 kB / 0.7376 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.2151, allocations: 7.984 kB / 0.7376 GB, free: 1.105 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.2151, allocations: 15.92 kB / 0.7377 GB, free: 1.09 MB / 0.5417 GB 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.0001341/0.2152, allocations: 121.7 kB / 0.7378 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.2153, allocations: 11.89 kB / 0.7378 GB, free: 0.9492 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.2153, allocations: 8.375 kB / 0.7378 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2153, allocations: 0 / 0.7378 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2153, allocations: 4 kB / 0.7378 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.2153, allocations: 4.078 kB / 0.7378 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009253/0.2162, allocations: 406 kB / 0.7382 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2162, allocations: 0 / 0.7382 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002939/0.2165, allocations: 31.91 kB / 0.7382 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.2165, allocations: 0 / 0.7382 GB, free: 480 kB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.2166, allocations: 11.98 kB / 0.7382 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2166, allocations: 0 / 0.7382 GB, free: 468 kB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2166, allocations: 4 kB / 0.7382 GB, free: 464 kB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008942/0.2175, allocations: 371.2 kB / 0.7386 GB, free: 76 kB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.384e-05/0.2175, allocations: 7.953 kB / 0.7386 GB, free: 68 kB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.2175, allocations: 4 kB / 0.7386 GB, free: 64 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.2177, allocations: 7.984 kB / 0.7386 GB, free: 56 kB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.2178, allocations: 7.984 kB / 0.7386 GB, free: 48 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.2178, allocations: 11.98 kB / 0.7386 GB, free: 36 kB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.184e-05/0.2179, allocations: 95.33 kB / 0.7387 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9e-08/0.2179, allocations: 3.938 kB / 0.7387 GB, free: 15.94 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003064/0.2182, allocations: 43.94 kB / 0.7388 GB, free: 15.89 MB / 0.5573 GB 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.0001971/0.2184, allocations: 111.2 kB / 0.7389 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006222/0.219, allocations: 209.2 kB / 0.7391 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.219, allocations: 0 / 0.7391 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002456/0.2193, allocations: 83.88 kB / 0.7391 GB, free: 15.49 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.2196, allocations: 8.562 kB / 0.7392 GB, free: 15.48 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001819/0.2214, allocations: 438.1 kB / 0.7396 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.154e-05/0.2215, allocations: 75.33 kB / 0.7396 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001431/0.2217, allocations: 24.66 kB / 0.7397 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.1e-05/0.2218, allocations: 15.42 kB / 0.7397 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of SimCode: time 4.31e-07/0.2218, allocations: 0 / 0.7397 GB, free: 14.88 MB / 0.5573 GB Notification: Performance of Templates: time 0.005861/0.2276, allocations: 2.37 MB / 0.742 GB, free: 12.53 MB / 0.5573 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.202793119999114]