Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 103 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 249.9 MB, free: 13.56 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 443.5 MB / 0.731 GB, free: 12.69 MB / 0.5919 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,variableFilter="time|m_flow|m_flow_comp|m_flow_turbulent|der.m_flow.|der.m_flow_comp.|err_m_flow|err_der_m_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.89 kB / 1.06 GB, free: 4 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8387/0.8407, allocations: 160.7 MB / 1.217 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00276/0.8434, allocations: 1.274 MB / 1.218 GB, free: 3.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.8446, allocations: 0.6277 MB / 1.218 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.124e-05/0.8447, allocations: 0 / 1.218 GB, free: 2.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.8447, allocations: 5.188 kB / 1.218 GB, free: 2.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.502e-05/0.8447, allocations: 7.984 kB / 1.218 GB, free: 2.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000596/0.8453, allocations: 155.4 kB / 1.219 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.915e-05/0.8454, allocations: 30.14 kB / 1.219 GB, free: 2.383 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.264e-05/0.8454, allocations: 5.797 kB / 1.219 GB, free: 2.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.287e-05/0.8455, allocations: 10.72 kB / 1.219 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.8455, allocations: 15.27 kB / 1.219 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.8455, allocations: 2.125 kB / 1.219 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005248/0.8461, allocations: 346.5 kB / 1.219 GB, free: 2.164 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.8461, allocations: 9.125 kB / 1.219 GB, free: 2.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.878e-05/0.8461, allocations: 13.61 kB / 1.219 GB, free: 2.148 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.8464, allocations: 149.3 kB / 1.219 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.8464, allocations: 0 / 1.219 GB, free: 2.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.192e-06/0.8464, allocations: 0 / 1.219 GB, free: 2.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.8464, allocations: 1.188 kB / 1.219 GB, free: 2.07 MB / 0.92 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.0005035/0.8469, allocations: 379 kB / 1.219 GB, free: 1.668 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.847, allocations: 10.12 kB / 1.219 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.847, allocations: 3.219 kB / 1.219 GB, free: 1.668 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001503/0.8471, allocations: 174.1 kB / 1.22 GB, free: 1.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.8472, allocations: 6.219 kB / 1.22 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.8472, allocations: 3.562 kB / 1.22 GB, free: 1.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.8473, allocations: 48.88 kB / 1.22 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.8473, allocations: 192 / 1.22 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.8474, allocations: 4.938 kB / 1.22 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.8474, allocations: 1.094 kB / 1.22 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.209e-05/0.8474, allocations: 27.5 kB / 1.22 GB, free: 1.395 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002299/0.8477, allocations: 165.6 kB / 1.22 GB, free: 1.191 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.8478, allocations: 61.47 kB / 1.22 GB, free: 1.145 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.8478, allocations: 21.11 kB / 1.22 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.8479, allocations: 13.09 kB / 1.22 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/0.8479, allocations: 36.03 kB / 1.22 GB, free: 1.078 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.8479, allocations: 0 / 1.22 GB, free: 1.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001244/0.8491, allocations: 0.5837 MB / 1.221 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.8492, allocations: 52.66 kB / 1.221 GB, free: 484 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.994e-05/0.8493, allocations: 96.64 kB / 1.221 GB, free: 380 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/0.8493, allocations: 30.83 kB / 1.221 GB, free: 344 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.8493, allocations: 89.28 kB / 1.221 GB, free: 252 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 5.393e-05/0.8494, allocations: 40.12 kB / 1.221 GB, free: 216 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.8494, allocations: 29.89 kB / 1.221 GB, free: 188 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.8496, allocations: 312.3 kB / 1.221 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.664e-05/0.8497, allocations: 24.33 kB / 1.221 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.8497, allocations: 16.81 kB / 1.221 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.258e-05/0.8498, allocations: 58.22 kB / 1.221 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.8498, allocations: 0 / 1.221 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001549/0.8499, allocations: 103.7 kB / 1.221 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.85, allocations: 9.094 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.85, allocations: 0 / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.85, allocations: 9.094 kB / 1.221 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.8501, allocations: 21.55 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.8501, allocations: 1.094 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.447e-05/0.8501, allocations: 1.219 kB / 1.221 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.8501, allocations: 7.031 kB / 1.221 GB, free: 15.74 MB / 0.9356 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 8.771e-05/0.8502, allocations: 113.3 kB / 1.222 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.755e-05/0.8502, allocations: 7.625 kB / 1.222 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.8504, allocations: 122.2 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.8505, allocations: 1.812 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.8505, allocations: 0 / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8505, allocations: 4.703 kB / 1.222 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004286/0.8509, allocations: 344.9 kB / 1.222 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8509, allocations: 3.938 kB / 1.222 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.851, allocations: 26.27 kB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.851, allocations: 0 / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.851, allocations: 1.344 kB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.851, allocations: 1.219 kB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.851, allocations: 4 kB / 1.222 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.8513, allocations: 221.9 kB / 1.222 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.479e-05/0.8514, allocations: 78.3 kB / 1.222 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.8514, allocations: 1.125 kB / 1.222 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.913e-05/0.8515, allocations: 6.375 kB / 1.222 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.8515, allocations: 11.17 kB / 1.222 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.8515, allocations: 3.094 kB / 1.222 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.8516, allocations: 81.22 kB / 1.222 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8516, allocations: 0 / 1.222 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002826/0.8518, allocations: 36.31 kB / 1.222 GB, free: 14.78 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002303/0.8521, allocations: 141.2 kB / 1.223 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001689/0.8522, allocations: 64.3 kB / 1.223 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.8522, allocations: 1.156 kB / 1.223 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.8523, allocations: 27.48 kB / 1.223 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.8525, allocations: 10.75 kB / 1.223 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.8532, allocations: 316.9 kB / 1.223 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.8535, allocations: 0.6871 MB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.296e-05/0.8536, allocations: 13.94 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8536, allocations: 1.094 kB / 1.224 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of Templates: time 0.00308/0.8567, allocations: 1.14 MB / 1.225 GB, free: 13.05 MB / 0.9356 GB [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 400]