Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 289.9 MB / 297.4 MB, free: 6.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000993/0.0009931, allocations: 168.9 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.34/1.34, allocations: 205.2 MB / 0.626 GB, free: 7.176 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008143/0.0008143, allocations: 90.58 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.65e-05/1.653e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5779/0.578, allocations: 116.3 MB / 0.9733 GB, free: 76.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.7475, allocations: 138.9 MB / 1.109 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.7478, allocations: 87.92 kB / 1.109 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.008213/0.756, allocations: 2.81 MB / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.343e-06/0.756, allocations: 0.625 kB / 1.112 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.756, allocations: 0 / 1.112 GB, free: 8.461 MB / 0.7136 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.0003008/0.7564, allocations: 343.8 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.7564, allocations: 8.031 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.7564, allocations: 4.5 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.7566, allocations: 167.5 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.7566, allocations: 0.9375 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.7566, allocations: 0.5312 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.183e-05/0.7567, allocations: 16.47 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.758e-05/0.7568, allocations: 34.31 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.7568, allocations: 0 / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.7568, allocations: 6.938 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.7568, allocations: 1.469 kB / 1.112 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.757, allocations: 142.1 kB / 1.112 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.7572, allocations: 40.48 kB / 1.112 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.774e-05/0.7572, allocations: 20.84 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.7572, allocations: 0 / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.7573, allocations: 42.69 kB / 1.113 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.7573, allocations: 1.125 kB / 1.113 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005418/0.7578, allocations: 274.3 kB / 1.113 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.7579, allocations: 57.28 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.577e-05/0.7579, allocations: 92.98 kB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.758, allocations: 25.7 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.337e-05/0.758, allocations: 84.77 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.758, allocations: 15.72 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.758, allocations: 2.031 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.721e-05/0.7581, allocations: 314.8 kB / 1.113 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.7582, allocations: 8 kB / 1.113 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.7582, allocations: 15.98 kB / 1.113 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.518e-05/0.7582, allocations: 4.812 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7582, allocations: 3.953 kB / 1.113 GB, free: 6.551 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.021e-05/0.7583, allocations: 65.33 kB / 1.113 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.7583, allocations: 8 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.7584, allocations: 0 / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.7584, allocations: 0 / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.227e-05/0.7584, allocations: 11.94 kB / 1.113 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.7584, allocations: 5.688 kB / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.892e-05/0.7585, allocations: 0 / 1.113 GB, free: 6.461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.7585, allocations: 3.984 kB / 1.113 GB, free: 6.457 MB / 0.7136 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.17e-05/0.7585, allocations: 101 kB / 1.114 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.7586, allocations: 11.95 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.7587, allocations: 70 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7587, allocations: 0 / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.7587, allocations: 0 / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7587, allocations: 1.781 kB / 1.114 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.759, allocations: 287.9 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.759, allocations: 0 / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.184e-05/0.7591, allocations: 11.98 kB / 1.114 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.7591, allocations: 4.031 kB / 1.114 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.7591, allocations: 7.938 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.7591, allocations: 3 kB / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.7591, allocations: 0 / 1.114 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001671/0.7593, allocations: 182 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.7593, allocations: 93.03 kB / 1.114 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.7594, allocations: 4.062 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.094e-05/0.7594, allocations: 0 / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.312e-05/0.7595, allocations: 7.984 kB / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.7595, allocations: 0 / 1.114 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.289e-05/0.7595, allocations: 79.28 kB / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7595, allocations: 0 / 1.114 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002375/0.7598, allocations: 27.94 kB / 1.114 GB, free: 5.48 MB / 0.7136 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 () * 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 (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.0001941/0.76, allocations: 131.1 kB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.121e-05/0.7601, allocations: 35.98 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7601, allocations: 2.719 kB / 1.114 GB, free: 5.309 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.7601, allocations: 12 kB / 1.114 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.7602, allocations: 14.62 kB / 1.115 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.7606, allocations: 139.3 kB / 1.115 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002177/0.7608, allocations: 0.6846 MB / 1.115 GB, free: 4.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.759e-05/0.7608, allocations: 4 kB / 1.115 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.222e-05/0.7609, allocations: 11.44 kB / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of SimCode: time 3.7e-07/0.7609, allocations: 0 / 1.115 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.0025/0.7634, allocations: 0.5772 MB / 1.116 GB, free: 3.859 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)