Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.0008949/0.0008949, allocations: 87.56 kB / 20.2 MB, free: 4.355 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.000929/0.000929, allocations: 162 kB / 23.52 MB, free: 1.035 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.8758/0.8758, allocations: 177.1 MB / 203.9 MB, free: 5.613 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.803/1.803, allocations: 390.1 MB / 0.6352 GB, free: 11.46 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0.6562 kB / 0.8271 GB, free: 15.33 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.003e-05/4.237e-05, allocations: 5.672 kB / 0.8271 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.002454/0.002496, allocations: 1.381 MB / 0.8284 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.00369, allocations: 0.8679 MB / 0.8293 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003767, allocations: 0 / 0.8293 GB, free: 13.08 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 4.167e-05/0.003809, allocations: 10.58 kB / 0.8293 GB, free: 13.07 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.828e-05/0.003877, allocations: 11.86 kB / 0.8293 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009462/0.004823, allocations: 224.3 kB / 0.8295 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.00494, allocations: 51.78 kB / 0.8296 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.004996, allocations: 0.6875 kB / 0.8296 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.233e-05/0.005059, allocations: 31.95 kB / 0.8296 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.053e-05/0.005129, allocations: 20.95 kB / 0.8296 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.005147, allocations: 4 kB / 0.8296 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.005638, allocations: 384.7 kB / 0.83 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.005661, allocations: 8 kB / 0.83 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.005706, allocations: 23.91 kB / 0.83 GB, free: 12.33 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0004178/0.006124, allocations: 303.1 kB / 0.8303 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.00613, allocations: 1.75 kB / 0.8303 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.994e-06/0.006132, allocations: 0 / 0.8303 GB, free: 12.04 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.00614, allocations: 0 / 0.8303 GB, free: 12.04 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.0005694/0.006709, allocations: 361.3 kB / 0.8307 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.006763, allocations: 9.375 kB / 0.8307 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002914/0.007054, allocations: 28.81 kB / 0.8307 GB, free: 11.61 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.007174, allocations: 113.7 kB / 0.8308 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.007189, allocations: 1.375 kB / 0.8308 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.007221, allocations: 8.375 kB / 0.8308 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.00741, allocations: 114.6 kB / 0.8309 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.007422, allocations: 192 / 0.8309 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.007438, allocations: 384 / 0.8309 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.007445, allocations: 6.656 kB / 0.8309 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.244e-05/0.007538, allocations: 43.83 kB / 0.831 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.007715, allocations: 125.2 kB / 0.8311 GB, free: 11.14 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.007908, allocations: 82.52 kB / 0.8312 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.139e-05/0.007969, allocations: 33.38 kB / 0.8312 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.007986, allocations: 4.719 kB / 0.8312 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.008012, allocations: 34.56 kB / 0.8312 GB, free: 10.97 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.863e-06/0.008014, allocations: 0.5 kB / 0.8312 GB, free: 10.97 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.003165/0.01118, allocations: 0.9628 MB / 0.8322 GB, free: 9.961 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.01122, allocations: 67.28 kB / 0.8322 GB, free: 9.883 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.01132, allocations: 124.2 kB / 0.8324 GB, free: 9.754 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01135, allocations: 29.7 kB / 0.8324 GB, free: 9.719 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.948e-05/0.01139, allocations: 84.42 kB / 0.8325 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.01143, allocations: 39.64 kB / 0.8325 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.04e-05/0.0115, allocations: 49.69 kB / 0.8326 GB, free: 9.535 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001722/0.01167, allocations: 318.8 kB / 0.8329 GB, free: 9.215 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.01187, allocations: 84.45 kB / 0.8329 GB, free: 9.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.01201, allocations: 85 kB / 0.833 GB, free: 9.051 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002956/0.01231, allocations: 180 kB / 0.8332 GB, free: 8.875 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01231, allocations: 4 kB / 0.8332 GB, free: 8.871 MB / 0.7917 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007647/0.01307, allocations: 239.8 kB / 0.8334 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.0131, allocations: 8.438 kB / 0.8334 GB, free: 8.625 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.665e-05/0.01312, allocations: 9.672 kB / 0.8334 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01314, allocations: 0 / 0.8334 GB, free: 8.617 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001702/0.01331, allocations: 31.91 kB / 0.8335 GB, free: 8.586 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.01332, allocations: 4 kB / 0.8335 GB, free: 8.582 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.446e-05/0.0134, allocations: 12.48 kB / 0.8335 GB, free: 8.57 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.718e-05/0.01342, allocations: 9.328 kB / 0.8335 GB, free: 8.562 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 0.0001012/0.01352, allocations: 113.8 kB / 0.8336 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.01355, allocations: 7.953 kB / 0.8336 GB, free: 8.434 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.0136, allocations: 17.05 kB / 0.8336 GB, free: 8.418 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.01361, allocations: 4.656 kB / 0.8336 GB, free: 8.414 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.01362, allocations: 7.875 kB / 0.8336 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.01362, allocations: 0.5625 kB / 0.8336 GB, free: 8.406 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.01429, allocations: 408.3 kB / 0.834 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01429, allocations: 0 / 0.834 GB, free: 7.977 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.01445, allocations: 27.97 kB / 0.8341 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.01446, allocations: 0 / 0.8341 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.01447, allocations: 15.86 kB / 0.8341 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01448, allocations: 0 / 0.8341 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01448, allocations: 0 / 0.8341 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.01506, allocations: 373.7 kB / 0.8344 GB, free: 7.555 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.01508, allocations: 7.984 kB / 0.8344 GB, free: 7.547 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.01511, allocations: 7.938 kB / 0.8344 GB, free: 7.539 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01521, allocations: 12.95 kB / 0.8345 GB, free: 7.527 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.01525, allocations: 3.984 kB / 0.8345 GB, free: 7.523 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.01526, allocations: 7.984 kB / 0.8345 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 4.941e-05/0.01531, allocations: 88.38 kB / 0.8345 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.01531, allocations: 0 / 0.8345 GB, free: 7.43 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002392/0.01555, allocations: 43.98 kB / 0.8346 GB, free: 7.387 MB / 0.7917 GB 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.0002356/0.01579, allocations: 123.2 kB / 0.8347 GB, free: 7.258 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0004332/0.01622, allocations: 201.5 kB / 0.8349 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01622, allocations: 0 / 0.8349 GB, free: 7.055 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01635, allocations: 77.2 kB / 0.835 GB, free: 6.98 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.01671, allocations: 20.02 kB / 0.835 GB, free: 6.961 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009754/0.01769, allocations: 424 kB / 0.8354 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.469e-05/0.01775, allocations: 79.08 kB / 0.8355 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.554e-05/0.01785, allocations: 28.47 kB / 0.8355 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of SimCode: time 1.373e-06/0.01785, allocations: 0 / 0.8355 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of Templates: time 0.003445/0.02129, allocations: 1.971 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_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.251194096170366] Failed to read output from testmodel.py, exit status != 0: 0.028181683272123337 0.037118611 0.028966306 Calling exit ...