Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_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.0009008/0.0009008, allocations: 79.69 kB / 21.74 MB, free: 2.516 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.0009197/0.0009197, allocations: 169.4 kB / 25.18 MB, free: 8.926 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.8756/0.8756, allocations: 177.1 MB / 205.6 MB, free: 5.395 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.914/1.914, allocations: 389.6 MB / 0.6364 GB, free: 12.21 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.7755 GB, free: 5.953 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.178e-05/1.283e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001692/0.001705, allocations: 1.567 MB / 0.7771 GB, free: 4.395 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006683/0.002373, allocations: 0.6121 MB / 0.7777 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.0024, allocations: 0 / 0.7777 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.656e-05/0.002427, allocations: 3.938 kB / 0.7777 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.84e-05/0.002465, allocations: 10.44 kB / 0.7777 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003736/0.002839, allocations: 155.3 kB / 0.7778 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.002898, allocations: 47.84 kB / 0.7779 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 2.727e-05/0.002925, allocations: 7.922 kB / 0.7779 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.794e-05/0.002983, allocations: 31.92 kB / 0.7779 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.871e-05/0.003012, allocations: 23.95 kB / 0.7779 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.003023, allocations: 7.094 kB / 0.7779 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002686/0.003291, allocations: 279.4 kB / 0.7782 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.003309, allocations: 15.92 kB / 0.7782 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.163e-05/0.00333, allocations: 19.97 kB / 0.7782 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.00352, allocations: 175.4 kB / 0.7784 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.382e-06/0.003522, allocations: 0 / 0.7784 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.143e-06/0.003523, allocations: 4 kB / 0.7784 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.424e-06/0.003525, allocations: 3.938 kB / 0.7784 GB, free: 3.035 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0002707/0.003796, allocations: 297.2 kB / 0.7787 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.564e-05/0.003822, allocations: 14.48 kB / 0.7787 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.142e-05/0.003843, allocations: 8.938 kB / 0.7787 GB, free: 2.699 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.648e-05/0.0039, allocations: 109.7 kB / 0.7788 GB, free: 2.566 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.003915, allocations: 5.375 kB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.003933, allocations: 16.33 kB / 0.7789 GB, free: 2.547 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.004043, allocations: 126.3 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.004051, allocations: 0.7812 kB / 0.779 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-06/0.004058, allocations: 9.156 kB / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.004061, allocations: 384 / 0.779 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.854e-05/0.00409, allocations: 24.8 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.00432, allocations: 201.1 kB / 0.7792 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.097e-05/0.004401, allocations: 54.5 kB / 0.7793 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.475e-05/0.004416, allocations: 14.59 kB / 0.7793 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.004426, allocations: 4 kB / 0.7793 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.004444, allocations: 34.5 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.004445, allocations: 0 / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.000597/0.005042, allocations: 454.8 kB / 0.7797 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.34e-05/0.005065, allocations: 56 kB / 0.7798 GB, free: 1.473 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.502e-05/0.00511, allocations: 107.2 kB / 0.7799 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.00512, allocations: 25.7 kB / 0.7799 GB, free: 1.324 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.525e-05/0.005145, allocations: 97.62 kB / 0.78 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.005172, allocations: 43.62 kB / 0.78 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.964e-05/0.005201, allocations: 29.69 kB / 0.7801 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.327e-05/0.005265, allocations: 314.8 kB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.537e-05/0.00528, allocations: 12.8 kB / 0.7804 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.005297, allocations: 14.12 kB / 0.7804 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.944e-05/0.005336, allocations: 45.69 kB / 0.7804 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.005337, allocations: 0 / 0.7804 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.105e-05/0.005398, allocations: 83.98 kB / 0.7805 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.005407, allocations: 4.562 kB / 0.7805 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.00541, allocations: 0.6875 kB / 0.7805 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.005418, allocations: 8 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.436e-05/0.005482, allocations: 25.17 kB / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.154e-06/0.005484, allocations: 0 / 0.7806 GB, free: 0.6406 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.005503, allocations: 3.984 kB / 0.7806 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.00551, allocations: 9.469 kB / 0.7806 GB, free: 0.6289 MB / 0.7292 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 (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 5.297e-05/0.005563, allocations: 109.8 kB / 0.7807 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.00558, allocations: 15.94 kB / 0.7807 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.729e-05/0.005667, allocations: 74.56 kB / 0.7808 GB, free: 432 kB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005669, allocations: 4 kB / 0.7808 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.00567, allocations: 1.062 kB / 0.7808 GB, free: 428 kB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.005673, allocations: 3.984 kB / 0.7808 GB, free: 424 kB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.005853, allocations: 238.8 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.005853, allocations: 0.5 kB / 0.781 GB, free: 160 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.005916, allocations: 28.52 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005918, allocations: 0.9375 kB / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.005923, allocations: 0 / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.005924, allocations: 0 / 0.781 GB, free: 132 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005925, allocations: 5 kB / 0.781 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001254/0.00605, allocations: 187.4 kB / 0.7812 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-06/0.006057, allocations: 9.609 kB / 0.7812 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.678e-06/0.006066, allocations: 4 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.005e-05/0.006106, allocations: 4 kB / 0.7812 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.244e-05/0.006119, allocations: 7.984 kB / 0.7812 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.006123, allocations: 0.9375 kB / 0.7812 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.121e-05/0.006135, allocations: 20.83 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.006135, allocations: 0 / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001502/0.006285, allocations: 44.75 kB / 0.7813 GB, free: 15.84 MB / 0.7448 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.0001218/0.006407, allocations: 126.9 kB / 0.7814 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.006482, allocations: 56.75 kB / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.006486, allocations: 0 / 0.7815 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.357e-05/0.00651, allocations: 28.8 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001091/0.006619, allocations: 19.92 kB / 0.7815 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.007015, allocations: 265 kB / 0.7818 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.116e-05/0.007056, allocations: 79.27 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.007116, allocations: 67.36 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of SimCode: time 4.81e-07/0.007117, allocations: 1.594 kB / 0.7819 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.001676/0.008793, allocations: 1.423 MB / 0.7833 GB, free: 13.81 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.386626121588051]