Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.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.001799/0.001799, allocations: 79.44 kB / 19.18 MB, free: 2.52 MB / 14.72 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.00217/0.00217, allocations: 166.2 kB / 22.46 MB, free: 5.371 MB / 14.72 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.487/1.487, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.024/3.024, allocations: 390.1 MB / 0.6341 GB, free: 15.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.361e-06/5.361e-06, allocations: 7.984 kB / 1.002 GB, free: 5.305 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.664e-05/3.2e-05, allocations: 2.281 kB / 1.002 GB, free: 5.301 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.002445/0.002477, allocations: 1.382 MB / 1.003 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.003956, allocations: 0.8637 MB / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.003999, allocations: 0 / 1.004 GB, free: 3.043 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.526e-05/0.004025, allocations: 7.922 kB / 1.004 GB, free: 3.035 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.996e-05/0.004095, allocations: 7.938 kB / 1.004 GB, free: 3.027 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.004884, allocations: 229.6 kB / 1.004 GB, free: 2.805 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.005001, allocations: 51.78 kB / 1.004 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.005051, allocations: 11.97 kB / 1.004 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.005113, allocations: 31.91 kB / 1.005 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.875e-05/0.005182, allocations: 15.98 kB / 1.005 GB, free: 2.695 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.005199, allocations: 4 kB / 1.005 GB, free: 2.691 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006186/0.005818, allocations: 375.4 kB / 1.005 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.005848, allocations: 15.92 kB / 1.005 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.568e-05/0.005884, allocations: 15.97 kB / 1.005 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004929/0.006377, allocations: 307.1 kB / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.006383, allocations: 0 / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.072e-06/0.006384, allocations: 0 / 1.005 GB, free: 1.992 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.006389, allocations: 0 / 1.005 GB, free: 1.992 MB / 0.9512 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.0005973/0.006986, allocations: 365.2 kB / 1.006 GB, free: 1.602 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.063e-05/0.007047, allocations: 15.98 kB / 1.006 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.007327, allocations: 24.86 kB / 1.006 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.007472, allocations: 109.7 kB / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.575e-05/0.007497, allocations: 384 / 1.006 GB, free: 1.43 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.007525, allocations: 8.375 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002468/0.007772, allocations: 109.6 kB / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.007785, allocations: 192 / 1.006 GB, free: 1.297 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.007802, allocations: 4.375 kB / 1.006 GB, free: 1.293 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.007808, allocations: 4.375 kB / 1.006 GB, free: 1.289 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.007954, allocations: 39.84 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002013/0.008156, allocations: 125.3 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.008423, allocations: 74.61 kB / 1.006 GB, free: 1.016 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.186e-05/0.008515, allocations: 33 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.008538, allocations: 3.984 kB / 1.006 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.063e-05/0.008578, allocations: 38.56 kB / 1.006 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.253e-06/0.00858, allocations: 0 / 1.006 GB, free: 0.9297 MB / 0.9512 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.005749/0.01433, allocations: 0.9901 MB / 1.007 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.01438, allocations: 55.34 kB / 1.007 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01452, allocations: 121.8 kB / 1.007 GB, free: 15.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.01455, allocations: 29.7 kB / 1.007 GB, free: 15.65 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.366e-05/0.01461, allocations: 84.42 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.527e-05/0.01467, allocations: 43.64 kB / 1.007 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.611e-05/0.01477, allocations: 37.69 kB / 1.007 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.01494, allocations: 326.8 kB / 1.008 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/0.01519, allocations: 87.95 kB / 1.008 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.01544, allocations: 91.94 kB / 1.008 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.01595, allocations: 191 kB / 1.008 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.01595, allocations: 0 / 1.008 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006474/0.01659, allocations: 253.4 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.01661, allocations: 4 kB / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.01664, allocations: 8 kB / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.01666, allocations: 0 / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.01697, allocations: 43.84 kB / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.01698, allocations: 0 / 1.008 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000188/0.01717, allocations: 7.984 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.0172, allocations: 11.98 kB / 1.008 GB, free: 14.45 MB / 0.9669 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.000154/0.01735, allocations: 117.8 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.01739, allocations: 7.953 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.01744, allocations: 8.438 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01744, allocations: 7.938 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.01745, allocations: 3.938 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01746, allocations: 3.984 kB / 1.009 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000935/0.01839, allocations: 390 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.01839, allocations: 0 / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/0.0187, allocations: 35.97 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01871, allocations: 3.938 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.588e-05/0.01873, allocations: 11.92 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.01873, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.01874, allocations: 4 kB / 1.009 GB, free: 13.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009046/0.01964, allocations: 363.2 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.01966, allocations: 7.984 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.038e-05/0.01971, allocations: 7.938 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.01995, allocations: 12.05 kB / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.01999, allocations: 7.984 kB / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/0.02001, allocations: 7.984 kB / 1.009 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.277e-05/0.02008, allocations: 91.27 kB / 1.009 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.02008, allocations: 0 / 1.009 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003294/0.02041, allocations: 43.94 kB / 1.01 GB, free: 13.29 MB / 0.9669 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.0002911/0.0207, allocations: 123.2 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006454/0.02135, allocations: 214.5 kB / 1.01 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.02135, allocations: 0 / 1.01 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002436/0.0216, allocations: 79.88 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.02196, allocations: 9.719 kB / 1.01 GB, free: 12.85 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.02358, allocations: 377.3 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.506e-05/0.02368, allocations: 75.33 kB / 1.01 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.02387, allocations: 24.72 kB / 1.01 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.024, allocations: 20.48 kB / 1.01 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of SimCode: time 1.012e-06/0.024, allocations: 0 / 1.01 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of Templates: time 0.007259/0.03126, allocations: 2.295 MB / 1.013 GB, free: 10.05 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2 -abortSlowSimulation -alarm=800 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.23195281252265] Failed to read output from testmodel.py, exit status != 0: 0.04120904207229614 0.057112342 0.047514039 Calling exit ...