Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001346/0.001346, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.002124/0.002124, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.012/3.012, allocations: 473.4 MB / 0.7469 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003895, allocations: 12.53 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3934, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001781/0.3952, allocations: 1.023 MB / 1.075 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3966, allocations: 0.6191 MB / 1.076 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.3966, allocations: 4 kB / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.3967, allocations: 0 / 1.076 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.349e-05/0.3967, allocations: 3.938 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.3975, allocations: 127.6 kB / 1.076 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.962e-05/0.3976, allocations: 31.86 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.942e-05/0.3977, allocations: 0 / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.769e-05/0.3977, allocations: 15.97 kB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.829e-05/0.3978, allocations: 15.92 kB / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.3978, allocations: 0 / 1.076 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005864/0.3984, allocations: 351.3 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.3985, allocations: 4 kB / 1.076 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.626e-05/0.3985, allocations: 37.64 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.3989, allocations: 151.9 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.3989, allocations: 4 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.395e-06/0.3989, allocations: 0 / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.3989, allocations: 3.938 kB / 1.076 GB, free: 5.133 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.0005093/0.3994, allocations: 355.5 kB / 1.077 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.3995, allocations: 12.03 kB / 1.077 GB, free: 4.723 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.3995, allocations: 12.78 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.3997, allocations: 168.4 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3997, allocations: 384 / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.717e-05/0.3997, allocations: 4.375 kB / 1.077 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.3999, allocations: 50.23 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3999, allocations: 4.188 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3999, allocations: 3.938 kB / 1.077 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3999, allocations: 3.938 kB / 1.077 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.4001, allocations: 19.98 kB / 1.077 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002199/0.4003, allocations: 169.6 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4005, allocations: 54.56 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.894e-05/0.4005, allocations: 28.84 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4006, allocations: 4 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.4006, allocations: 34.55 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.4006, allocations: 3.938 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001313/0.4019, allocations: 0.5955 MB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.402, allocations: 51.41 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.4021, allocations: 97.84 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.4021, allocations: 29.83 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.061e-05/0.4021, allocations: 92 kB / 1.078 GB, free: 3.074 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.4022, allocations: 43.38 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4022, allocations: 17.72 kB / 1.078 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.4024, allocations: 314.8 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.315e-05/0.4024, allocations: 19.98 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.903e-05/0.4025, allocations: 23.98 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.027e-05/0.4025, allocations: 52.86 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4026, allocations: 0 / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001619/0.4027, allocations: 113.1 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4028, allocations: 7.938 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.4028, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4028, allocations: 0 / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.4029, allocations: 20 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.4029, allocations: 3.984 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.403, allocations: 4 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.403, allocations: 4 kB / 1.079 GB, free: 2.441 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.0001099/0.4031, allocations: 117.8 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.4031, allocations: 11.84 kB / 1.079 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.4034, allocations: 109.6 kB / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4034, allocations: 0 / 1.079 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.4034, allocations: 3.984 kB / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4034, allocations: 0 / 1.079 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.404, allocations: 354.4 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.404, allocations: 0 / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.4041, allocations: 16 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-06/0.4041, allocations: 4 kB / 1.079 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.4042, allocations: 8 kB / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4042, allocations: 3.984 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4042, allocations: 0 / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.4045, allocations: 215.3 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-05/0.4046, allocations: 77.11 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.4046, allocations: 7.938 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.538e-05/0.4047, allocations: 4.031 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.4047, allocations: 12.05 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4048, allocations: 4 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.4048, allocations: 79.28 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.4048, allocations: 0 / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003307/0.4052, allocations: 35.98 kB / 1.08 GB, free: 1.289 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.0003343/0.4055, allocations: 135.2 kB / 1.08 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.4057, allocations: 67.84 kB / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.4057, allocations: 96 / 1.08 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.506e-05/0.4058, allocations: 39.92 kB / 1.08 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4061, allocations: 4.656 kB / 1.08 GB, free: 1.039 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.4069, allocations: 344.1 kB / 1.08 GB, free: 0.6719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000454/0.4073, allocations: 0.6888 MB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.32e-05/0.4074, allocations: 15.92 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.4075, allocations: 11.44 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of SimCode: time 3.01e-07/0.4075, allocations: 0 / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.004441/0.4119, allocations: 0.9083 MB / 1.082 GB, free: 15.05 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)