Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, 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.001624/0.001624, allocations: 195.8 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.004/3.004, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 62.47 kB / 0.9114 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3877, 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_DerivativeCheck2): time 0.003113/0.3909, allocations: 1.351 MB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.3921, allocations: 0.6461 MB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.395e-05/0.3922, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.491e-05/0.3922, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.674e-05/0.3923, allocations: 3.938 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007304/0.393, allocations: 131.6 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.3931, allocations: 23.92 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.944e-05/0.3932, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.099e-05/0.3932, allocations: 11.94 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.3933, allocations: 15.97 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3933, allocations: 4 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000639/0.394, allocations: 339.3 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.394, allocations: 11.92 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.543e-05/0.394, allocations: 15.92 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003594/0.3944, allocations: 147.9 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.3944, allocations: 8 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3944, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.88e-06/0.3944, allocations: 4 kB / 1.07 GB, free: 8.199 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005141/0.395, allocations: 359.5 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.395, allocations: 12.03 kB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.3951, allocations: 4.844 kB / 1.071 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3952, allocations: 164.4 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3952, allocations: 4.375 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.3953, allocations: 4.375 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3955, allocations: 54.23 kB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3955, allocations: 192 / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.3956, allocations: 11.92 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.3956, allocations: 3.938 kB / 1.071 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/0.3956, allocations: 16 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.3959, allocations: 169.6 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.396, allocations: 54.56 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.869e-05/0.396, allocations: 28.84 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3961, allocations: 4 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3961, allocations: 34.56 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3961, allocations: 3.938 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001317/0.3974, allocations: 0.5875 MB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3975, allocations: 55.41 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9e-05/0.3976, allocations: 93.86 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3976, allocations: 29.7 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.195e-05/0.3977, allocations: 88 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.231e-05/0.3977, allocations: 39.39 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.604e-05/0.3978, allocations: 29.7 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3979, allocations: 314.8 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.398, allocations: 19.98 kB / 1.072 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.177e-05/0.398, allocations: 28.11 kB / 1.072 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/0.3981, allocations: 64.3 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3981, allocations: 0 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001679/0.3983, allocations: 105.5 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.3983, allocations: 7.984 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3983, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3984, allocations: 7.984 kB / 1.072 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3985, allocations: 16 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3985, allocations: 320 / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.3985, allocations: 4 kB / 1.072 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.3985, allocations: 8 kB / 1.072 GB, free: 5.5 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 (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 0.0001013/0.3986, allocations: 121.8 kB / 1.073 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.854e-05/0.3987, allocations: 7.938 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.3989, allocations: 97.62 kB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3989, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3989, allocations: 0 / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.3989, allocations: 7.984 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004762/0.3994, allocations: 362.6 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3994, allocations: 0 / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3996, allocations: 23.98 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3996, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.3996, allocations: 0 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3996, allocations: 96 / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3996, allocations: 3.938 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/0.3999, allocations: 227.2 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.4, allocations: 85.08 kB / 1.073 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.075e-05/0.4, allocations: 4.031 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.4001, allocations: 4 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4001, allocations: 7.984 kB / 1.073 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.4001, allocations: 4 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.333e-05/0.4002, allocations: 79.28 kB / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4002, allocations: 0 / 1.073 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002867/0.4005, allocations: 31.98 kB / 1.074 GB, free: 4.344 MB / 0.8262 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.0003011/0.4008, allocations: 143.2 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.401, allocations: 71.78 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.401, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.4011, allocations: 31.94 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4013, allocations: 14.8 kB / 1.074 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007333/0.4021, allocations: 290.5 kB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.4024, allocations: 0.6848 MB / 1.075 GB, free: 3.059 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.4025, allocations: 4 kB / 1.075 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.704e-05/0.4025, allocations: 11.44 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of SimCode: time 2.215e-06/0.4025, allocations: 0 / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.003989/0.4065, allocations: 0.9424 MB / 1.076 GB, free: 2.137 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)