Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.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.0007838/0.0007838, 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.0007526/0.0007526, 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.9161/0.9161, allocations: 177.1 MB / 203.9 MB, free: 5.594 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.752/1.752, allocations: 390.1 MB / 0.6352 GB, free: 11.45 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow|m_flow_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.8271 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.875e-05/4.046e-05, allocations: 6.922 kB / 0.8271 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck): time 0.001945/0.001986, allocations: 1.366 MB / 0.8284 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.002943, allocations: 0.8689 MB / 0.8293 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.241e-05/0.002985, allocations: 0 / 0.8293 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.003007, allocations: 4.781 kB / 0.8293 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.346e-05/0.00305, allocations: 3.984 kB / 0.8293 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.003633, allocations: 230.2 kB / 0.8295 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.003719, allocations: 47.77 kB / 0.8295 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.003765, allocations: 5.344 kB / 0.8295 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.348e-05/0.003829, allocations: 27.92 kB / 0.8296 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.732e-05/0.003876, allocations: 11.98 kB / 0.8296 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.003889, allocations: 5.312 kB / 0.8296 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006693/0.004559, allocations: 375.4 kB / 0.8299 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.331e-05/0.004582, allocations: 11.94 kB / 0.83 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.463e-05/0.004617, allocations: 11.98 kB / 0.83 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.00498, allocations: 299.6 kB / 0.8303 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.004987, allocations: 1.188 kB / 0.8303 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.004989, allocations: 0 / 0.8303 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.229e-05/0.005001, allocations: 7.984 kB / 0.8303 GB, free: 10.93 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005212/0.005522, allocations: 344.8 kB / 0.8306 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.00557, allocations: 8.031 kB / 0.8306 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.005796, allocations: 32.8 kB / 0.8306 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.01e-05/0.005886, allocations: 113.7 kB / 0.8307 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.005898, allocations: 384 / 0.8307 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.00592, allocations: 4.375 kB / 0.8307 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001514/0.006072, allocations: 83.86 kB / 0.8308 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.006079, allocations: 192 / 0.8308 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.006091, allocations: 384 / 0.8308 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006096, allocations: 5.281 kB / 0.8308 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.00617, allocations: 23.92 kB / 0.8309 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.006305, allocations: 117.8 kB / 0.831 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.00653, allocations: 63.83 kB / 0.831 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.748e-05/0.006578, allocations: 22.06 kB / 0.831 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.00659, allocations: 4 kB / 0.831 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.006612, allocations: 34.5 kB / 0.8311 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.006613, allocations: 0.5312 kB / 0.8311 GB, free: 9.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.00119/0.007803, allocations: 415.9 kB / 0.8315 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.007831, allocations: 56.28 kB / 0.8315 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.00791, allocations: 126.1 kB / 0.8317 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.007931, allocations: 30.36 kB / 0.8317 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.9e-05/0.00796, allocations: 80.14 kB / 0.8318 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.007986, allocations: 25.08 kB / 0.8318 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/0.008033, allocations: 33.69 kB / 0.8318 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.008112, allocations: 314.8 kB / 0.8321 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.542e-05/0.008207, allocations: 54.34 kB / 0.8322 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.008284, allocations: 55.89 kB / 0.8322 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.008439, allocations: 99.77 kB / 0.8323 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.008441, allocations: 0 / 0.8323 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002114/0.008652, allocations: 153 kB / 0.8325 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.008666, allocations: 4 kB / 0.8325 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.008679, allocations: 7.984 kB / 0.8325 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.008694, allocations: 0 / 0.8325 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.235e-05/0.008766, allocations: 15.98 kB / 0.8325 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.008772, allocations: 3.938 kB / 0.8325 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.08e-05/0.008813, allocations: 11.88 kB / 0.8325 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.008823, allocations: 8.828 kB / 0.8325 GB, free: 8.438 MB / 0.7448 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 (8): * Single equations (assignments): 7 * 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.742e-05/0.008891, allocations: 110.3 kB / 0.8326 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/0.008907, allocations: 7.953 kB / 0.8326 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.084e-05/0.008938, allocations: 9.031 kB / 0.8326 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.008942, allocations: 4.531 kB / 0.8326 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.008948, allocations: 3.938 kB / 0.8326 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008951, allocations: 1.938 kB / 0.8326 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004543/0.009406, allocations: 315 kB / 0.8329 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.009408, allocations: 1.781 kB / 0.8329 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.972e-05/0.009477, allocations: 15.98 kB / 0.833 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.00948, allocations: 0 / 0.833 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.009489, allocations: 3.938 kB / 0.833 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.009493, allocations: 7.984 kB / 0.833 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.009494, allocations: 0.8125 kB / 0.833 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.009783, allocations: 237 kB / 0.8332 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.979e-05/0.009813, allocations: 16.91 kB / 0.8332 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.00983, allocations: 8.062 kB / 0.8332 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.009894, allocations: 13.3 kB / 0.8332 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.009917, allocations: 0 / 0.8332 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.009924, allocations: 4 kB / 0.8332 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.773e-05/0.009962, allocations: 94.86 kB / 0.8333 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.009962, allocations: 0 / 0.8333 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001911/0.01015, allocations: 31.98 kB / 0.8334 GB, free: 7.516 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0001557/0.01031, allocations: 112.6 kB / 0.8335 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.01054, allocations: 121.5 kB / 0.8336 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01054, allocations: 0 / 0.8336 GB, free: 7.273 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.01061, allocations: 35.97 kB / 0.8336 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.0109, allocations: 11.97 kB / 0.8336 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.01144, allocations: 274.6 kB / 0.8339 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.446e-05/0.01149, allocations: 68.59 kB / 0.834 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.391e-05/0.01153, allocations: 24.48 kB / 0.834 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of SimCode: time 8.82e-07/0.01153, allocations: 0 / 0.834 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of Templates: time 0.002203/0.01373, allocations: 1.261 MB / 0.8352 GB, free: 5.57 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_dp_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.20327206235379] Failed to read output from testmodel.py, exit status != 0: 0.020510786212980747 0.029309401000000002 0.022422424 Calling exit ...