Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001893/0.001893, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00229/0.00229, allocations: 198.3 kB / 16.14 MB, free: 6.688 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 65.97 kB / 0.9114 GB, free: 33.72 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4069, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002748/0.4097, allocations: 1.339 MB / 1.069 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001189/0.4109, allocations: 0.6229 MB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.014e-05/0.4109, allocations: 4 kB / 1.069 GB, free: 8.938 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.411, allocations: 4 kB / 1.069 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.678e-05/0.411, allocations: 3.938 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.4116, allocations: 127.6 kB / 1.07 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.107e-05/0.4116, allocations: 19.86 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.4117, allocations: 0 / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.4117, allocations: 12 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.631e-05/0.4118, allocations: 7.875 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.4118, allocations: 7.984 kB / 1.07 GB, free: 8.758 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005101/0.4123, allocations: 347.3 kB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.4124, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.4124, allocations: 11.92 kB / 1.07 GB, free: 8.402 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002777/0.4127, allocations: 143.9 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4127, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4127, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.4127, allocations: 4 kB / 1.07 GB, free: 8.258 MB / 0.8262 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.0004873/0.4132, allocations: 355.5 kB / 1.07 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4133, allocations: 12.03 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.208e-05/0.4133, allocations: 12.83 kB / 1.07 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.4134, allocations: 164.4 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.4134, allocations: 384 / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4135, allocations: 8.359 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.4136, allocations: 34.27 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.4136, allocations: 192 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.4136, allocations: 7.938 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.4136, allocations: 7.922 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.4137, allocations: 8 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001993/0.4139, allocations: 157.7 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.4141, allocations: 42.61 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.4142, allocations: 16.86 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4142, allocations: 4.078 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4142, allocations: 34.56 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4142, allocations: 3.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006688/0.4149, allocations: 314.2 kB / 1.071 GB, free: 6.883 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.415, allocations: 51.41 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.086e-05/0.415, allocations: 102.3 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.415, allocations: 29.7 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.635e-05/0.4151, allocations: 84.14 kB / 1.071 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.4151, allocations: 19.66 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.4152, allocations: 25.7 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.4153, allocations: 314.8 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.631e-05/0.4153, allocations: 8 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.284e-05/0.4153, allocations: 15.98 kB / 1.072 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.4154, allocations: 28.86 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4154, allocations: 0 / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001047/0.4155, allocations: 73.53 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4156, allocations: 7.938 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4156, allocations: 3.938 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4156, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.188e-05/0.4156, allocations: 12 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.4157, allocations: 4 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.793e-05/0.4157, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.4157, allocations: 4 kB / 1.072 GB, free: 6.059 MB / 0.8262 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 8.306e-05/0.4158, allocations: 113.8 kB / 1.072 GB, free: 5.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.547e-05/0.4158, allocations: 11.97 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001542/0.416, allocations: 73.81 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.416, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.416, allocations: 0 / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.416, allocations: 4 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000334/0.4163, allocations: 319.3 kB / 1.072 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4163, allocations: 4 kB / 1.072 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.4164, allocations: 8 kB / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4164, allocations: 192 / 1.072 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.4164, allocations: 12 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4164, allocations: 0 / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4164, allocations: 0 / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.4166, allocations: 184.2 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.4167, allocations: 89.12 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.4167, allocations: 0 / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.4168, allocations: 4 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.439e-05/0.4168, allocations: 0 / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.4168, allocations: 4 kB / 1.073 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.613e-05/0.4169, allocations: 79.28 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.004e-06/0.4169, allocations: 4.062 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002375/0.4171, allocations: 27.86 kB / 1.073 GB, free: 5.023 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0001998/0.4173, allocations: 119.2 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.4174, allocations: 35.92 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4174, allocations: 0 / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.888e-05/0.4175, allocations: 16 kB / 1.073 GB, free: 4.848 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4177, allocations: 13.52 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.4181, allocations: 210.2 kB / 1.073 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/0.4184, allocations: 0.6848 MB / 1.074 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.308e-05/0.4184, allocations: 7.906 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.981e-05/0.4185, allocations: 11.44 kB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.4185, allocations: 0 / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of Templates: time 0.002978/0.4214, allocations: 0.6094 MB / 1.075 GB, free: 3.293 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)