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.001361/0.001361, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001508/0.001508, allocations: 163.6 kB / 22.46 MB, free: 5.375 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.462/1.462, allocations: 177.1 MB / 202.8 MB, free: 9.152 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 2.952/2.952, allocations: 390.1 MB / 0.6341 GB, free: 15.93 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 1.002 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.561e-05/2.728e-05, allocations: 6.281 kB / 1.002 GB, free: 5.289 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.002579/0.002606, allocations: 1.393 MB / 1.003 GB, free: 3.887 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.004168, allocations: 0.8598 MB / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.847e-05/0.004206, allocations: 0 / 1.004 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.313e-05/0.004229, allocations: 3.938 kB / 1.004 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.004296, allocations: 15.86 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007281/0.005024, allocations: 222.9 kB / 1.004 GB, free: 2.785 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.00513, allocations: 51.78 kB / 1.004 GB, free: 2.734 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.967e-05/0.00518, allocations: 7.984 kB / 1.004 GB, free: 2.727 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.319e-05/0.005253, allocations: 43.83 kB / 1.005 GB, free: 2.684 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.005336, allocations: 15.92 kB / 1.005 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.005358, allocations: 4 kB / 1.005 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006468/0.006004, allocations: 371.5 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.006033, allocations: 15.92 kB / 1.005 GB, free: 2.285 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.006074, allocations: 15.98 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.006625, allocations: 311.1 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.006628, allocations: 0 / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.012e-06/0.006629, allocations: 0 / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.006636, allocations: 0 / 1.005 GB, free: 1.965 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.0006467/0.007282, allocations: 353.3 kB / 1.006 GB, free: 1.586 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/0.007335, allocations: 19.92 kB / 1.006 GB, free: 1.566 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000276/0.007611, allocations: 24.86 kB / 1.006 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.007754, allocations: 113.7 kB / 1.006 GB, free: 1.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.007784, allocations: 12.36 kB / 1.006 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.00781, allocations: 4.375 kB / 1.006 GB, free: 1.391 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/0.008054, allocations: 109.6 kB / 1.006 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.008068, allocations: 192 / 1.006 GB, free: 1.266 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.008086, allocations: 4.359 kB / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.008091, allocations: 384 / 1.006 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001568/0.008247, allocations: 39.91 kB / 1.006 GB, free: 1.223 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.008441, allocations: 125.2 kB / 1.006 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.008706, allocations: 82.48 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.008805, allocations: 36.83 kB / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.819e-05/0.008824, allocations: 0 / 1.006 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.008859, allocations: 34.56 kB / 1.006 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.00886, allocations: 0 / 1.006 GB, free: 0.8984 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: m_flow Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.005841/0.0147, allocations: 0.9748 MB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.01475, allocations: 59.41 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.01487, allocations: 125.8 kB / 1.007 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.01491, allocations: 25.7 kB / 1.007 GB, free: 15.63 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.01496, allocations: 88.36 kB / 1.007 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.01503, allocations: 43.64 kB / 1.007 GB, free: 15.49 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.01513, allocations: 41.69 kB / 1.007 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.01529, allocations: 322.8 kB / 1.008 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/0.01555, allocations: 79.95 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002493/0.0158, allocations: 91.94 kB / 1.008 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004906/0.01629, allocations: 183.1 kB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.01629, allocations: 4 kB / 1.008 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006289/0.01692, allocations: 235 kB / 1.008 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.01694, allocations: 8 kB / 1.008 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.01696, allocations: 3.984 kB / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01697, allocations: 0 / 1.008 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003201/0.01729, allocations: 47.84 kB / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.0173, allocations: 0 / 1.008 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.01749, allocations: 11.98 kB / 1.008 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.01751, allocations: 4 kB / 1.008 GB, free: 14.46 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.0001168/0.01763, allocations: 113.8 kB / 1.009 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.01766, allocations: 7.953 kB / 1.009 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.0177, allocations: 16.44 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.01771, allocations: 0 / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.01771, allocations: 3.938 kB / 1.009 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01772, allocations: 4 kB / 1.009 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009052/0.01862, allocations: 401.9 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.01863, allocations: 3.984 kB / 1.009 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003155/0.01894, allocations: 27.97 kB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.01895, allocations: 4 kB / 1.009 GB, free: 13.85 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.01897, allocations: 11.92 kB / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01897, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.01897, allocations: 0 / 1.009 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008841/0.01986, allocations: 367.3 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.01987, allocations: 7.938 kB / 1.009 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.357e-05/0.01991, allocations: 7.969 kB / 1.009 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.02016, allocations: 11.98 kB / 1.009 GB, free: 13.44 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.0202, allocations: 7.984 kB / 1.009 GB, free: 13.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.02022, allocations: 7.938 kB / 1.009 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.226e-05/0.02028, allocations: 92.03 kB / 1.009 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.02028, allocations: 4.156 kB / 1.009 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003065/0.02059, allocations: 47.88 kB / 1.01 GB, free: 13.28 MB / 0.9669 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.0002075/0.02079, allocations: 119.2 kB / 1.01 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005886/0.02138, allocations: 203.5 kB / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.02138, allocations: 0 / 1.01 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.02163, allocations: 72.22 kB / 1.01 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.02194, allocations: 16.81 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/0.02336, allocations: 397.2 kB / 1.01 GB, free: 12.45 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.76e-05/0.02344, allocations: 75.33 kB / 1.01 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001325/0.02357, allocations: 20.73 kB / 1.01 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.539e-05/0.02367, allocations: 24.42 kB / 1.01 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of SimCode: time 4.11e-07/0.02367, allocations: 0 / 1.01 GB, free: 12.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.00599/0.02966, allocations: 2.299 MB / 1.013 GB, free: 10.06 MB / 0.9669 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 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 800] [Calling sys.exit(0), Time elapsed: 8.154245778918266] Failed to read output from testmodel.py, exit status != 0: 0.03914659842848778 0.054170414 0.044430976000000004 Calling exit ...