Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009662/0.0009662, allocations: 177.5 kB / 8.006 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5551/0.5551, allocations: 90.92 MB / 99.35 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.5 MB / 343.2 MB, free: 1.609 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 87.33 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.596e-05/1.592e-05, allocations: 6.422 kB / 494.5 MB, free: 52.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 72.32 MB / 0.5535 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5726, allocations: 102.4 MB / 0.6535 GB, free: 7.875 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.5729, allocations: 85.94 kB / 0.6536 GB, free: 7.824 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0128/0.5857, allocations: 4.3 MB / 0.6578 GB, free: 4.246 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5858, allocations: 0 / 0.6578 GB, free: 4.246 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.5858, allocations: 0 / 0.6578 GB, free: 4.246 MB / 458.7 MB 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.0004454/0.5862, allocations: 372.6 kB / 0.6582 GB, free: 3.844 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.5863, allocations: 12.03 kB / 0.6582 GB, free: 3.832 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.336e-05/0.5863, allocations: 11.86 kB / 0.6582 GB, free: 3.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.5865, allocations: 175.4 kB / 0.6584 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.104e-05/0.5865, allocations: 0 / 0.6584 GB, free: 3.613 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.5865, allocations: 8 kB / 0.6584 GB, free: 3.605 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.76e-05/0.5867, allocations: 22.62 kB / 0.6584 GB, free: 3.59 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.5868, allocations: 60.42 kB / 0.6585 GB, free: 3.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.5868, allocations: 7.938 kB / 0.6585 GB, free: 3.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.5868, allocations: 3.953 kB / 0.6585 GB, free: 3.523 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5868, allocations: 0 / 0.6585 GB, free: 3.523 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005311/0.5874, allocations: 298.7 kB / 0.6588 GB, free: 3.207 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.5875, allocations: 59.62 kB / 0.6588 GB, free: 3.152 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.156e-05/0.5875, allocations: 27.73 kB / 0.6588 GB, free: 3.129 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.5876, allocations: 3.953 kB / 0.6588 GB, free: 3.125 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.5876, allocations: 34.56 kB / 0.6589 GB, free: 3.082 MB / 458.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.5876, allocations: 0 / 0.6589 GB, free: 3.082 MB / 458.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008248/0.5884, allocations: 0.5221 MB / 0.6594 GB, free: 2.504 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.5885, allocations: 59.34 kB / 0.6594 GB, free: 2.434 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.52e-05/0.5885, allocations: 92.94 kB / 0.6595 GB, free: 2.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.5886, allocations: 29.7 kB / 0.6596 GB, free: 2.305 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.5886, allocations: 91.53 kB / 0.6596 GB, free: 2.215 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.5887, allocations: 30.72 kB / 0.6597 GB, free: 2.188 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-06/0.5887, allocations: 0 / 0.6597 GB, free: 2.188 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.5888, allocations: 322.1 kB / 0.66 GB, free: 1.867 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.5888, allocations: 19.12 kB / 0.66 GB, free: 1.855 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.487e-05/0.5889, allocations: 22.31 kB / 0.66 GB, free: 1.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.498e-05/0.5889, allocations: 23.77 kB / 0.66 GB, free: 1.824 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.5889, allocations: 3.938 kB / 0.66 GB, free: 1.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000132/0.5891, allocations: 90.77 kB / 0.6601 GB, free: 1.738 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.5891, allocations: 4 kB / 0.6601 GB, free: 1.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5891, allocations: 3.984 kB / 0.6601 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.5891, allocations: 3.938 kB / 0.6601 GB, free: 1.727 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.5893, allocations: 31.92 kB / 0.6602 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.5893, allocations: 240 / 0.6602 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.887e-05/0.5894, allocations: 8 kB / 0.6602 GB, free: 1.688 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.5894, allocations: 7.984 kB / 0.6602 GB, free: 1.68 MB / 458.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.081e-05/0.5895, allocations: 109 kB / 0.6603 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.5896, allocations: 11.48 kB / 0.6603 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.5898, allocations: 100.2 kB / 0.6604 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.5898, allocations: 0 / 0.6604 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5898, allocations: 0 / 0.6604 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5898, allocations: 0 / 0.6604 GB, free: 1.473 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.5901, allocations: 333.1 kB / 0.6607 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5902, allocations: 3.953 kB / 0.6607 GB, free: 1.125 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.5903, allocations: 27.97 kB / 0.6607 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5903, allocations: 0 / 0.6607 GB, free: 1.098 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.5904, allocations: 8.125 kB / 0.6608 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5904, allocations: 0 / 0.6608 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5904, allocations: 0 / 0.6608 GB, free: 1.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.5906, allocations: 221.8 kB / 0.661 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.5907, allocations: 84.97 kB / 0.661 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.5907, allocations: 0 / 0.661 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.5908, allocations: 12.02 kB / 0.6611 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.98e-05/0.5909, allocations: 7.125 kB / 0.6611 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.5909, allocations: 3.984 kB / 0.6611 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.102e-05/0.5909, allocations: 82.22 kB / 0.6611 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5909, allocations: 0 / 0.6611 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000273/0.5912, allocations: 44 kB / 0.6612 GB, free: 0.6406 MB / 458.7 MB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002261/0.5914, allocations: 139.1 kB / 0.6613 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001305/0.5916, allocations: 56.12 kB / 0.6614 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5916, allocations: 4 kB / 0.6614 GB, free: 460 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.846e-05/0.5916, allocations: 42.84 kB / 0.6614 GB, free: 424 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.5918, allocations: 4 kB / 0.6614 GB, free: 420 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.5923, allocations: 238 kB / 0.6617 GB, free: 172 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.5926, allocations: 0.6963 MB / 0.6623 GB, free: 15.45 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 6.53e-05/0.5927, allocations: 12.67 kB / 0.6623 GB, free: 15.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.889e-05/0.5927, allocations: 11.44 kB / 0.6624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5927, allocations: 0 / 0.6624 GB, free: 15.42 MB / 474.7 MB Notification: Performance of Templates: time 0.003346/0.5961, allocations: 0.9992 MB / 0.6633 GB, free: 14.46 MB / 474.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)