Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_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.0008329/0.0008329, allocations: 87.56 kB / 20.2 MB, free: 4.348 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.0007586/0.0007586, allocations: 158 kB / 23.51 MB, free: 1.031 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.8816/0.8816, allocations: 177.2 MB / 203.9 MB, free: 5.582 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.795/1.795, 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_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.8271 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.41e-05, allocations: 5.094 kB / 0.8271 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck): time 0.001616/0.00164, allocations: 1.37 MB / 0.8284 GB, free: 13.93 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0009576/0.002598, allocations: 0.8678 MB / 0.8293 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.845e-05/0.002636, allocations: 1.25 kB / 0.8293 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.985e-05/0.002666, allocations: 3.984 kB / 0.8293 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.711e-05/0.002713, allocations: 7.875 kB / 0.8293 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.003203, allocations: 222.3 kB / 0.8295 GB, free: 12.84 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 8.358e-05/0.003286, allocations: 39.8 kB / 0.8295 GB, free: 12.8 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.003335, allocations: 13.38 kB / 0.8295 GB, free: 12.79 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 6.099e-05/0.003396, allocations: 23.92 kB / 0.8296 GB, free: 12.76 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.18e-05/0.003447, allocations: 15.98 kB / 0.8296 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.003462, allocations: 7.938 kB / 0.8296 GB, free: 12.74 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003677/0.00383, allocations: 376.1 kB / 0.8299 GB, free: 12.37 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.003847, allocations: 8.828 kB / 0.83 GB, free: 12.36 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.00387, allocations: 12 kB / 0.83 GB, free: 12.35 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0003048/0.004175, allocations: 303.1 kB / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004177, allocations: 0.6562 kB / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of FrontEnd: time 6.41e-07/0.004178, allocations: 0 / 0.8303 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004181, allocations: 3.688 kB / 0.8303 GB, free: 12.05 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003767/0.004558, allocations: 345.3 kB / 0.8306 GB, free: 11.68 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.004597, allocations: 15.97 kB / 0.8306 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001999/0.004797, allocations: 24.91 kB / 0.8306 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.543e-05/0.004892, allocations: 123.5 kB / 0.8307 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.004903, allocations: 384 / 0.8307 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.004925, allocations: 4.375 kB / 0.8308 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.005069, allocations: 75.94 kB / 0.8308 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.005078, allocations: 0.8125 kB / 0.8308 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.00509, allocations: 4.375 kB / 0.8308 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005096, allocations: 0.9688 kB / 0.8308 GB, free: 11.41 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.077e-05/0.005177, allocations: 36.47 kB / 0.8309 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.0053, allocations: 113.4 kB / 0.831 GB, free: 11.23 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.005528, allocations: 63.56 kB / 0.831 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.502e-05/0.005573, allocations: 26.47 kB / 0.8311 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.005586, allocations: 0 / 0.8311 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.848e-05/0.005604, allocations: 34.56 kB / 0.8311 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=4): time 5.31e-07/0.005605, allocations: 0.8125 kB / 0.8311 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=6): time 0.001204/0.006809, allocations: 415.8 kB / 0.8315 GB, free: 10.65 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.006838, allocations: 55.84 kB / 0.8315 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.595e-05/0.006914, allocations: 122.1 kB / 0.8317 GB, free: 10.45 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.006926, allocations: 26.23 kB / 0.8317 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.205e-05/0.006958, allocations: 96.8 kB / 0.8318 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.006992, allocations: 19.8 kB / 0.8318 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.007031, allocations: 30.23 kB / 0.8318 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.941e-05/0.007111, allocations: 320.1 kB / 0.8321 GB, free: 9.949 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.505e-05/0.007196, allocations: 47.97 kB / 0.8322 GB, free: 9.902 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.318e-05/0.007269, allocations: 43.97 kB / 0.8322 GB, free: 9.859 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.007422, allocations: 101.2 kB / 0.8323 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.007422, allocations: 0 / 0.8323 GB, free: 9.762 MB / 0.7917 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002025/0.007625, allocations: 142.7 kB / 0.8324 GB, free: 9.617 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.007637, allocations: 8 kB / 0.8325 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.007652, allocations: 0 / 0.8325 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.007667, allocations: 1.516 kB / 0.8325 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.729e-05/0.007734, allocations: 19.98 kB / 0.8325 GB, free: 9.59 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.00774, allocations: 4.094 kB / 0.8325 GB, free: 9.586 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.007787, allocations: 8.891 kB / 0.8325 GB, free: 9.578 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.007796, allocations: 3.984 kB / 0.8325 GB, free: 9.574 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 (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.022e-05/0.007857, allocations: 122.8 kB / 0.8326 GB, free: 9.445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.00787, allocations: 7.953 kB / 0.8326 GB, free: 9.438 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.225e-05/0.007903, allocations: 17.75 kB / 0.8326 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.007904, allocations: 0 / 0.8326 GB, free: 9.422 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007909, allocations: 3.938 kB / 0.8326 GB, free: 9.418 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.007912, allocations: 4 kB / 0.8326 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.008315, allocations: 314.1 kB / 0.8329 GB, free: 9.07 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.008316, allocations: 0 / 0.8329 GB, free: 9.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.53e-05/0.008382, allocations: 23.97 kB / 0.833 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.008384, allocations: 0 / 0.833 GB, free: 9.047 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.008393, allocations: 3.938 kB / 0.833 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.008395, allocations: 0.5 kB / 0.833 GB, free: 9.043 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.008397, allocations: 4 kB / 0.833 GB, free: 9.039 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.008667, allocations: 239.8 kB / 0.8332 GB, free: 8.789 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.008691, allocations: 12.03 kB / 0.8332 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008707, allocations: 11.94 kB / 0.8332 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.262e-05/0.00877, allocations: 7.984 kB / 0.8332 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.029e-05/0.00879, allocations: 7.984 kB / 0.8332 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.008795, allocations: 0 / 0.8332 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.00883, allocations: 98.05 kB / 0.8333 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.00883, allocations: 0.5 kB / 0.8333 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001685/0.008998, allocations: 24 kB / 0.8334 GB, free: 8.633 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001156/0.009114, allocations: 116.3 kB / 0.8335 GB, free: 8.512 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002154/0.009329, allocations: 120 kB / 0.8336 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.009331, allocations: 0 / 0.8336 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.009393, allocations: 31.97 kB / 0.8336 GB, free: 8.359 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002035/0.009596, allocations: 8 kB / 0.8336 GB, free: 8.352 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/0.01008, allocations: 281.4 kB / 0.8339 GB, free: 8.059 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.01012, allocations: 67.34 kB / 0.834 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.323e-05/0.01017, allocations: 20.47 kB / 0.834 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of SimCode: time 4.51e-07/0.01017, allocations: 0 / 0.834 GB, free: 7.949 MB / 0.7917 GB Notification: Performance of Templates: time 0.001904/0.01207, allocations: 1.264 MB / 0.8352 GB, free: 6.691 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.PowerLaw_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 800] [Calling os._exit(0), Time elapsed: 6.1665661837905645] Failed to read output from testmodel.py, exit status != 0: 0.016236317344009876 0.02422170599999994 0.018394711999999938 Calling exit ...