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.0007762/0.0007762, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008184/0.0008184, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9/0.9, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.767/1.767, allocations: 390.1 MB / 0.6348 GB, free: 11.59 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.224e-06/2.224e-06, allocations: 0 / 1.003 GB, free: 9.812 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.606e-05, allocations: 9.453 kB / 1.003 GB, free: 9.805 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001943/0.001979, allocations: 1.379 MB / 1.004 GB, free: 8.414 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001005/0.002984, allocations: 0.8606 MB / 1.005 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.279e-05/0.003027, allocations: 0 / 1.005 GB, free: 7.551 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.118e-05/0.003048, allocations: 7.922 kB / 1.005 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.42e-05/0.003102, allocations: 15.86 kB / 1.005 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.003722, allocations: 234.1 kB / 1.005 GB, free: 7.301 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.004137, allocations: 51.78 kB / 1.005 GB, free: 7.25 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.514e-05/0.004183, allocations: 4 kB / 1.005 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.889e-05/0.004241, allocations: 39.89 kB / 1.005 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.266e-05/0.004304, allocations: 19.92 kB / 1.005 GB, free: 7.188 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.004319, allocations: 4 kB / 1.005 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.004762, allocations: 375.4 kB / 1.006 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.19e-05/0.004784, allocations: 8 kB / 1.006 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.004817, allocations: 23.91 kB / 1.006 GB, free: 6.785 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.005178, allocations: 307.2 kB / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005182, allocations: 0 / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.533e-06/0.005184, allocations: 0 / 1.006 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.005189, allocations: 0 / 1.006 GB, free: 6.484 MB / 0.9167 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.000424/0.005613, allocations: 357.3 kB / 1.006 GB, free: 6.102 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005651, allocations: 8.031 kB / 1.006 GB, free: 6.094 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002026/0.005854, allocations: 28.8 kB / 1.006 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.91e-05/0.005953, allocations: 117.7 kB / 1.006 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.005975, allocations: 384 / 1.006 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.006, allocations: 12.36 kB / 1.006 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.006151, allocations: 109.6 kB / 1.007 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.006161, allocations: 192 / 1.007 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.006172, allocations: 384 / 1.007 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.006177, allocations: 384 / 1.007 GB, free: 5.789 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.513e-05/0.006262, allocations: 47.84 kB / 1.007 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001463/0.006408, allocations: 125.2 kB / 1.007 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.006569, allocations: 78.48 kB / 1.007 GB, free: 5.504 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.006626, allocations: 36.83 kB / 1.007 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.00664, allocations: 240 / 1.007 GB, free: 5.465 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.006668, allocations: 34.56 kB / 1.007 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.006669, allocations: 0 / 1.007 GB, free: 5.422 MB / 0.9167 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.002902/0.009571, allocations: 0.969 MB / 1.008 GB, free: 4.398 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.009608, allocations: 55.41 kB / 1.008 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.00972, allocations: 129.7 kB / 1.008 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.009745, allocations: 29.7 kB / 1.008 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.78e-05/0.009783, allocations: 84.42 kB / 1.008 GB, free: 4.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.722e-05/0.00983, allocations: 43.58 kB / 1.008 GB, free: 4.027 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.009903, allocations: 41.69 kB / 1.008 GB, free: 3.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.949e-05/0.01, allocations: 322.8 kB / 1.009 GB, free: 3.656 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.01016, allocations: 87.95 kB / 1.009 GB, free: 3.57 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.01029, allocations: 87.94 kB / 1.009 GB, free: 3.484 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002787/0.01057, allocations: 178.8 kB / 1.009 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.01057, allocations: 0 / 1.009 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003646/0.01094, allocations: 237.5 kB / 1.009 GB, free: 3.07 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01096, allocations: 8 kB / 1.009 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.01097, allocations: 0 / 1.009 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01099, allocations: 0 / 1.009 GB, free: 3.062 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01115, allocations: 43.83 kB / 1.009 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.01116, allocations: 4 kB / 1.009 GB, free: 3.016 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.01124, allocations: 15.98 kB / 1.009 GB, free: 3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.01125, allocations: 0 / 1.009 GB, free: 3 MB / 0.9167 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 8.632e-05/0.01134, allocations: 113.8 kB / 1.009 GB, free: 2.879 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.01136, allocations: 15.94 kB / 1.009 GB, free: 2.863 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.446e-05/0.01141, allocations: 12.44 kB / 1.009 GB, free: 2.852 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.01141, allocations: 4 kB / 1.009 GB, free: 2.848 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.01142, allocations: 3.938 kB / 1.009 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01142, allocations: 0 / 1.009 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006133/0.01203, allocations: 402 kB / 1.01 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01204, allocations: 0 / 1.01 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001481/0.01219, allocations: 31.95 kB / 1.01 GB, free: 2.383 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01219, allocations: 4 kB / 1.01 GB, free: 2.379 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01221, allocations: 12.02 kB / 1.01 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01221, allocations: 3.938 kB / 1.01 GB, free: 2.363 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.01221, allocations: 3.984 kB / 1.01 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005306/0.01274, allocations: 363.2 kB / 1.01 GB, free: 1.988 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.281e-05/0.01276, allocations: 7.984 kB / 1.01 GB, free: 1.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.01278, allocations: 7.922 kB / 1.01 GB, free: 1.973 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.01288, allocations: 16.06 kB / 1.01 GB, free: 1.957 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.768e-05/0.01291, allocations: 11.97 kB / 1.01 GB, free: 1.945 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.01292, allocations: 4 kB / 1.01 GB, free: 1.941 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.094e-05/0.01296, allocations: 91.27 kB / 1.01 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01296, allocations: 0 / 1.01 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002151/0.01318, allocations: 43.94 kB / 1.01 GB, free: 1.809 MB / 0.9167 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.0001898/0.01337, allocations: 111.8 kB / 1.01 GB, free: 1.691 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003835/0.01375, allocations: 206.5 kB / 1.011 GB, free: 1.484 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.01375, allocations: 8 kB / 1.011 GB, free: 1.477 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.01388, allocations: 75.89 kB / 1.011 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.01418, allocations: 15.97 kB / 1.011 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.01509, allocations: 422.9 kB / 1.011 GB, free: 0.9375 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.037e-05/0.01515, allocations: 79.33 kB / 1.011 GB, free: 0.8398 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.151e-05/0.01524, allocations: 24.47 kB / 1.011 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of SimCode: time 1.122e-06/0.01524, allocations: 0 / 1.011 GB, free: 0.8164 MB / 0.9167 GB Notification: Performance of Templates: time 0.003433/0.01867, allocations: 1.969 MB / 1.013 GB, free: 14.86 MB / 0.9323 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.917391738854349] Failed to read output from testmodel.py, exit status != 0: 0.025848936289548874 0.04112828999999994 0.03302715999999994 Calling exit ...