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.0008165/0.0008165, allocations: 100.4 kB / 19.7 MB, free: 444 kB / 13.93 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.0008514/0.0008514, allocations: 207.8 kB / 22.99 MB, free: 2.984 MB / 13.93 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.9385/0.9385, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.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.904/1.904, allocations: 0.5056 GB / 0.8115 GB, free: 1.293 MB / 0.6511 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 0.0008831/0.0008831, allocations: 63.91 kB / 1.179 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7427/0.7436, allocations: 180.5 MB / 1.356 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck2): time 0.001831/0.7454, allocations: 1.382 MB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.7466, allocations: 0.8675 MB / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.64e-05/0.7466, allocations: 0 / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.335e-05/0.7467, allocations: 3.938 kB / 1.358 GB, free: 12.65 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.7467, allocations: 11.88 kB / 1.358 GB, free: 12.64 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005368/0.7472, allocations: 219 kB / 1.358 GB, free: 12.42 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.7473, allocations: 55.72 kB / 1.358 GB, free: 12.37 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/0.7474, allocations: 7.984 kB / 1.358 GB, free: 12.36 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.7474, allocations: 19.94 kB / 1.358 GB, free: 12.34 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.141e-05/0.7475, allocations: 35.83 kB / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.698e-06/0.7475, allocations: 0 / 1.358 GB, free: 12.3 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003644/0.7478, allocations: 371.5 kB / 1.358 GB, free: 11.94 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.937e-05/0.7479, allocations: 11.98 kB / 1.359 GB, free: 11.93 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.7479, allocations: 19.88 kB / 1.359 GB, free: 11.91 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.7482, allocations: 274.2 kB / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7482, allocations: 0 / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7482, allocations: 0 / 1.359 GB, free: 11.64 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.7482, allocations: 0 / 1.359 GB, free: 11.64 MB / 1.042 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.0004026/0.7486, allocations: 361.3 kB / 1.359 GB, free: 11.26 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.7486, allocations: 15.97 kB / 1.359 GB, free: 11.24 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.7488, allocations: 24.88 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.806e-05/0.7489, allocations: 114.5 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.7489, allocations: 4.375 kB / 1.359 GB, free: 11.08 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.7489, allocations: 4.375 kB / 1.359 GB, free: 11.07 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.7491, allocations: 109.6 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.7491, allocations: 192 / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.7491, allocations: 3.938 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7491, allocations: 4 kB / 1.359 GB, free: 10.94 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.27e-05/0.7492, allocations: 35.97 kB / 1.359 GB, free: 10.91 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001309/0.7493, allocations: 133.1 kB / 1.36 GB, free: 10.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.7495, allocations: 82.52 kB / 1.36 GB, free: 10.66 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.953e-05/0.7495, allocations: 33.08 kB / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.7495, allocations: 4 kB / 1.36 GB, free: 10.62 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7496, allocations: 30.56 kB / 1.36 GB, free: 10.58 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.7496, allocations: 3.938 kB / 1.36 GB, free: 10.57 MB / 1.042 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.002812/0.7524, allocations: 0.963 MB / 1.361 GB, free: 9.555 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.334e-05/0.7524, allocations: 63.28 kB / 1.361 GB, free: 9.48 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.7525, allocations: 125.9 kB / 1.361 GB, free: 9.348 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.7525, allocations: 25.7 kB / 1.361 GB, free: 9.316 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.615e-05/0.7526, allocations: 88.42 kB / 1.361 GB, free: 9.223 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.7526, allocations: 39.64 kB / 1.361 GB, free: 9.184 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.774e-05/0.7527, allocations: 41.69 kB / 1.361 GB, free: 9.137 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.7527, allocations: 326.8 kB / 1.361 GB, free: 8.809 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.7529, allocations: 79.95 kB / 1.361 GB, free: 8.73 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002839/0.7532, allocations: 90.31 kB / 1.361 GB, free: 8.645 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003222/0.7535, allocations: 186.9 kB / 1.362 GB, free: 8.461 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7535, allocations: 0 / 1.362 GB, free: 8.461 MB / 1.042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003815/0.7539, allocations: 244 kB / 1.362 GB, free: 8.219 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.7539, allocations: 11.88 kB / 1.362 GB, free: 8.207 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.728e-05/0.7539, allocations: 4 kB / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.7539, allocations: 0 / 1.362 GB, free: 8.203 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.7541, allocations: 31.97 kB / 1.362 GB, free: 8.172 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.7541, allocations: 4 kB / 1.362 GB, free: 8.168 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.579e-05/0.7542, allocations: 7.984 kB / 1.362 GB, free: 8.16 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.7542, allocations: 7.984 kB / 1.362 GB, free: 8.152 MB / 1.042 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 9.456e-05/0.7543, allocations: 123.3 kB / 1.362 GB, free: 8.023 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.462e-05/0.7543, allocations: 15.89 kB / 1.362 GB, free: 8.008 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/0.7544, allocations: 8.375 kB / 1.362 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7544, allocations: 0 / 1.362 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7544, allocations: 0 / 1.362 GB, free: 7.996 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.7544, allocations: 3.938 kB / 1.362 GB, free: 7.992 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.755, allocations: 409.9 kB / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.755, allocations: 0 / 1.362 GB, free: 7.555 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.7551, allocations: 31.97 kB / 1.363 GB, free: 7.523 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7551, allocations: 4 kB / 1.363 GB, free: 7.52 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.7552, allocations: 11.98 kB / 1.363 GB, free: 7.508 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7552, allocations: 3.938 kB / 1.363 GB, free: 7.504 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7552, allocations: 4 kB / 1.363 GB, free: 7.5 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.7557, allocations: 363.2 kB / 1.363 GB, free: 7.129 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.7557, allocations: 7.984 kB / 1.363 GB, free: 7.121 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.054e-05/0.7557, allocations: 4 kB / 1.363 GB, free: 7.117 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.7558, allocations: 12.14 kB / 1.363 GB, free: 7.105 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.7558, allocations: 11.92 kB / 1.363 GB, free: 7.094 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.7558, allocations: 11.98 kB / 1.363 GB, free: 7.082 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.74e-05/0.7559, allocations: 91.27 kB / 1.363 GB, free: 6.992 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7559, allocations: 0 / 1.363 GB, free: 6.992 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001979/0.7561, allocations: 36 kB / 1.363 GB, free: 6.957 MB / 1.042 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.0001617/0.7562, allocations: 123.1 kB / 1.363 GB, free: 6.828 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000372/0.7566, allocations: 201.5 kB / 1.363 GB, free: 6.625 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7566, allocations: 4 kB / 1.363 GB, free: 6.621 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.7567, allocations: 75.88 kB / 1.363 GB, free: 6.547 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.757, allocations: 14.16 kB / 1.363 GB, free: 6.535 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008959/0.7579, allocations: 463.7 kB / 1.364 GB, free: 6.047 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.228e-05/0.758, allocations: 83.08 kB / 1.364 GB, free: 5.945 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.614e-05/0.758, allocations: 23.41 kB / 1.364 GB, free: 5.922 MB / 1.042 GB Notification: Performance of SimCode: time 9.42e-07/0.758, allocations: 0 / 1.364 GB, free: 5.922 MB / 1.042 GB Notification: Performance of Templates: time 0.002755/0.7608, allocations: 1.959 MB / 1.366 GB, free: 3.969 MB / 1.042 GB " [Timeout remaining time 299] 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: 7.498429788276553] Failed to read output from testmodel.py, exit status != 0: 0.7664602817967534 0.77469772 0.024652185 Calling exit ...