Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 199 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.395/2.395, allocations: 390.2 MB / 0.6649 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 59.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7631, allocations: 140.4 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002253/0.7654, allocations: 1.349 MB / 0.9509 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.7663, allocations: 0.6211 MB / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.7664, allocations: 0 / 0.9515 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.7664, allocations: 3.984 kB / 0.9515 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.772e-05/0.7665, allocations: 9.297 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004247/0.7669, allocations: 115.5 kB / 0.9516 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.955e-05/0.7669, allocations: 21.55 kB / 0.9517 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.396e-05/0.767, allocations: 5.375 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.553e-05/0.767, allocations: 4.125 kB / 0.9517 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.621e-05/0.7671, allocations: 20.03 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.7671, allocations: 1.375 kB / 0.9517 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004413/0.7675, allocations: 339.8 kB / 0.952 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.528e-05/0.7676, allocations: 5.391 kB / 0.952 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.437e-05/0.7676, allocations: 12.06 kB / 0.952 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.7678, allocations: 100.7 kB / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.7678, allocations: 0 / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7678, allocations: 0 / 0.9521 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.7678, allocations: 0 / 0.9521 GB, free: 7.277 MB / 0.7169 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.0004279/0.7682, allocations: 371.4 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.7683, allocations: 9.219 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.492e-05/0.7683, allocations: 2.625 kB / 0.9525 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.7685, allocations: 169.1 kB / 0.9526 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.7685, allocations: 9.969 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.7685, allocations: 1.938 kB / 0.9527 GB, free: 6.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.7687, allocations: 40.5 kB / 0.9527 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.7687, allocations: 1.406 kB / 0.9527 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.7687, allocations: 7.938 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.7687, allocations: 1.156 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.093e-05/0.7688, allocations: 5.438 kB / 0.9527 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.769, allocations: 163 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.7692, allocations: 44.83 kB / 0.9529 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.7693, allocations: 19.75 kB / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.7693, allocations: 0 / 0.9529 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.7694, allocations: 35.97 kB / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.7694, allocations: 0 / 0.953 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0007195/0.7701, allocations: 316.1 kB / 0.9533 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.7701, allocations: 55.39 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.7702, allocations: 94.17 kB / 0.9534 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.7702, allocations: 31.08 kB / 0.9534 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.679e-05/0.7703, allocations: 80.14 kB / 0.9535 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.7703, allocations: 30.42 kB / 0.9535 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.7703, allocations: 18.88 kB / 0.9536 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.7704, allocations: 312.6 kB / 0.9539 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.096e-05/0.7705, allocations: 13.3 kB / 0.9539 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.724e-05/0.7705, allocations: 15.62 kB / 0.9539 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.556e-05/0.7706, allocations: 27.08 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.7706, allocations: 1.312 kB / 0.9539 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.7707, allocations: 68.45 kB / 0.954 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.7707, allocations: 13.41 kB / 0.954 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7707, allocations: 3.938 kB / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.7708, allocations: 0 / 0.954 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.7708, allocations: 13.89 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7709, allocations: 1.375 kB / 0.954 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.7709, allocations: 3.938 kB / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7709, allocations: 1.344 kB / 0.954 GB, free: 5.277 MB / 0.7169 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 (7): * Single equations (assignments): 7 * 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 6.741e-05/0.771, allocations: 112.4 kB / 0.9541 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.297e-05/0.771, allocations: 9.281 kB / 0.9541 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/0.7711, allocations: 75.33 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.7711, allocations: 1.156 kB / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7712, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.7712, allocations: 0 / 0.9542 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.7715, allocations: 316 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.7715, allocations: 1.062 kB / 0.9545 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.677e-05/0.7716, allocations: 14.14 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.7716, allocations: 1.719 kB / 0.9545 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.7716, allocations: 4.031 kB / 0.9545 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.7716, allocations: 5.375 kB / 0.9545 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7716, allocations: 3.938 kB / 0.9545 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.7718, allocations: 178.2 kB / 0.9547 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.926e-05/0.7718, allocations: 84 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.7718, allocations: 1.281 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.7719, allocations: 1.219 kB / 0.9548 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.278e-05/0.7719, allocations: 10.58 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.772, allocations: 2.406 kB / 0.9548 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.994e-05/0.772, allocations: 81.72 kB / 0.9549 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.772, allocations: 0 / 0.9549 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002582/0.7723, allocations: 18.75 kB / 0.9549 GB, free: 4.383 MB / 0.7169 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.0002308/0.7725, allocations: 132.2 kB / 0.955 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.7726, allocations: 29.02 kB / 0.955 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.7726, allocations: 4 kB / 0.9551 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.7727, allocations: 23.3 kB / 0.9551 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.7729, allocations: 11.84 kB / 0.9551 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.7734, allocations: 229.2 kB / 0.9553 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001541/0.7736, allocations: 0.6796 MB / 0.956 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.217e-05/0.7736, allocations: 15.73 kB / 0.956 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7736, allocations: 0 / 0.956 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of Templates: time 0.002844/0.7765, allocations: 0.7938 MB / 0.9568 GB, free: 2.91 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)