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.0008633/0.0008633, allocations: 87.56 kB / 20.2 MB, free: 4.348 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.0007895/0.0007895, allocations: 162 kB / 23.52 MB, free: 1.027 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.8667/0.8667, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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 1.721/1.721, allocations: 390.1 MB / 0.6352 GB, free: 11.47 MB / 0.6042 GB " [Timeout remaining time 178] 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="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp|der.m_flow.|der.m_flow_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.8271 GB, free: 15.34 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.004e-05/3.148e-05, allocations: 3.156 kB / 0.8271 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2): time 0.001826/0.001857, allocations: 1.374 MB / 0.8284 GB, free: 13.96 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.002882, allocations: 0.8688 MB / 0.8293 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.315e-05/0.002915, allocations: 0 / 0.8293 GB, free: 13.1 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.002936, allocations: 3.938 kB / 0.8293 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.339e-05/0.002979, allocations: 5.688 kB / 0.8293 GB, free: 13.09 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.003457, allocations: 232.8 kB / 0.8295 GB, free: 12.86 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.00354, allocations: 55.77 kB / 0.8296 GB, free: 12.81 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.003578, allocations: 5.688 kB / 0.8296 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.28e-05/0.003621, allocations: 27.91 kB / 0.8296 GB, free: 12.78 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.168e-05/0.003673, allocations: 19.97 kB / 0.8296 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.003687, allocations: 4 kB / 0.8296 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003568/0.004044, allocations: 379.4 kB / 0.83 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.004061, allocations: 12.56 kB / 0.83 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.004088, allocations: 20.66 kB / 0.83 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.004389, allocations: 303.1 kB / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.004392, allocations: 1.219 kB / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004393, allocations: 3.938 kB / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.004397, allocations: 0 / 0.8303 GB, free: 12.05 MB / 0.7917 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.0003787/0.004775, allocations: 361.9 kB / 0.8306 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.004811, allocations: 12.03 kB / 0.8307 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.005022, allocations: 29.94 kB / 0.8307 GB, free: 11.62 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.061e-05/0.005112, allocations: 113.7 kB / 0.8308 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.005123, allocations: 1.219 kB / 0.8308 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.005148, allocations: 8.375 kB / 0.8308 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.005297, allocations: 114.2 kB / 0.8309 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.005307, allocations: 192 / 0.8309 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.005317, allocations: 1.562 kB / 0.8309 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.005321, allocations: 384 / 0.8309 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.389e-05/0.005405, allocations: 39.91 kB / 0.831 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.005531, allocations: 129.7 kB / 0.8311 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.005683, allocations: 79.52 kB / 0.8312 GB, free: 11.07 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.037e-05/0.005733, allocations: 37.73 kB / 0.8312 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.005745, allocations: 0 / 0.8312 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.005765, allocations: 35.41 kB / 0.8312 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 6.92e-07/0.005765, allocations: 0 / 0.8312 GB, free: 10.99 MB / 0.7917 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.002767/0.008533, allocations: 0.9763 MB / 0.8322 GB, free: 9.969 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.008557, allocations: 51.41 kB / 0.8322 GB, free: 9.906 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.937e-05/0.008627, allocations: 122.9 kB / 0.8323 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.008645, allocations: 25.7 kB / 0.8324 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.008676, allocations: 92.41 kB / 0.8325 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.00871, allocations: 40.3 kB / 0.8325 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.008766, allocations: 49.69 kB / 0.8325 GB, free: 9.555 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 6.987e-05/0.008836, allocations: 319.4 kB / 0.8328 GB, free: 9.234 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001431/0.008979, allocations: 95.62 kB / 0.8329 GB, free: 9.145 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.009116, allocations: 89.08 kB / 0.833 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002704/0.009387, allocations: 191 kB / 0.8332 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.009387, allocations: 0 / 0.8332 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000353/0.009741, allocations: 251.2 kB / 0.8334 GB, free: 8.621 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.009753, allocations: 5.875 kB / 0.8335 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.009767, allocations: 11.94 kB / 0.8335 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.00978, allocations: 3.984 kB / 0.8335 GB, free: 8.602 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.009926, allocations: 48.77 kB / 0.8335 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.00993, allocations: 0 / 0.8335 GB, free: 8.555 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.859e-05/0.01001, allocations: 9.109 kB / 0.8335 GB, free: 8.547 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.425e-05/0.01002, allocations: 8 kB / 0.8335 GB, free: 8.539 MB / 0.7917 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 6.525e-05/0.01009, allocations: 113.8 kB / 0.8336 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.512e-05/0.01011, allocations: 9.078 kB / 0.8336 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.01014, allocations: 16.42 kB / 0.8337 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01015, allocations: 0 / 0.8337 GB, free: 8.395 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01015, allocations: 5 kB / 0.8337 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.01015, allocations: 0 / 0.8337 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.01066, allocations: 399 kB / 0.834 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01066, allocations: 0.5 kB / 0.834 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001347/0.0108, allocations: 37.8 kB / 0.8341 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.0108, allocations: 0 / 0.8341 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.01082, allocations: 7.938 kB / 0.8341 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.01082, allocations: 3.938 kB / 0.8341 GB, free: 7.918 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.01082, allocations: 3.984 kB / 0.8341 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004857/0.01131, allocations: 370.3 kB / 0.8345 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.815e-06/0.01132, allocations: 7.984 kB / 0.8345 GB, free: 7.531 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01134, allocations: 3.938 kB / 0.8345 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01144, allocations: 15.98 kB / 0.8345 GB, free: 7.512 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.615e-05/0.01146, allocations: 3.984 kB / 0.8345 GB, free: 7.508 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.01148, allocations: 7.984 kB / 0.8345 GB, free: 7.5 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.01151, allocations: 91.27 kB / 0.8346 GB, free: 7.41 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.01151, allocations: 4.062 kB / 0.8346 GB, free: 7.406 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001846/0.01169, allocations: 40 kB / 0.8346 GB, free: 7.367 MB / 0.7917 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.0001214/0.01181, allocations: 123.1 kB / 0.8347 GB, free: 7.238 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.01215, allocations: 205.5 kB / 0.8349 GB, free: 7.031 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.01216, allocations: 4 kB / 0.8349 GB, free: 7.027 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.01228, allocations: 75.89 kB / 0.835 GB, free: 6.953 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01249, allocations: 17.86 kB / 0.835 GB, free: 6.938 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.01329, allocations: 410.3 kB / 0.8354 GB, free: 6.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.58e-05/0.01333, allocations: 83.02 kB / 0.8355 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.01342, allocations: 20.48 kB / 0.8355 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of SimCode: time 7.11e-07/0.01342, allocations: 0 / 0.8355 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of Templates: time 0.00248/0.0159, allocations: 1.965 MB / 0.8374 GB, free: 4.426 MB / 0.7917 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 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.5265573263168335] Failed to read output from testmodel.py, exit status != 0: 0.020691226236522198 0.028049011000000002 0.022093285 Calling exit ...