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_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_3.0.0_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_3.0.0_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.001371/0.001371, 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.001476/0.001477, allocations: 197.9 kB / 16.14 MB, free: 6.695 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.44/1.44, allocations: 222.9 MB / 239.8 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 64.3 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3818, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002507/0.3844, allocations: 1.339 MB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.3855, allocations: 0.6307 MB / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.3856, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.3856, allocations: 0 / 1.069 GB, free: 8.875 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.3856, allocations: 7.875 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000484/0.3861, allocations: 123.6 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.767e-05/0.3862, allocations: 15.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.891e-05/0.3863, allocations: 8 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.908e-05/0.3863, allocations: 7.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.3864, allocations: 15.92 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.3864, allocations: 0 / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004831/0.3869, allocations: 343.3 kB / 1.07 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.3869, allocations: 8 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.3869, allocations: 7.938 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.3872, allocations: 143.9 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.3872, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.31e-07/0.3872, allocations: 0 / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.607e-06/0.3872, allocations: 0 / 1.07 GB, free: 8.207 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.0004329/0.3876, allocations: 359.5 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.3877, allocations: 12.03 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.3877, allocations: 8.844 kB / 1.07 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.3879, allocations: 164.4 kB / 1.071 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.3879, allocations: 4.359 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3879, allocations: 8.375 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.388, allocations: 30.27 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.388, allocations: 4.172 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.3881, allocations: 11.94 kB / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3881, allocations: 0 / 1.071 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.118e-05/0.3881, allocations: 11.94 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.3883, allocations: 161.7 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.3885, allocations: 42.61 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.524e-05/0.3886, allocations: 20.94 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.3886, allocations: 0 / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.3886, allocations: 30.56 kB / 1.071 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.3886, allocations: 4 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0006562/0.3893, allocations: 322 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3893, allocations: 51.41 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.3894, allocations: 97.84 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.943e-05/0.3894, allocations: 33.64 kB / 1.071 GB, free: 6.613 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.3895, allocations: 80.14 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.3895, allocations: 19.72 kB / 1.072 GB, free: 6.512 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.3896, allocations: 25.7 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3897, allocations: 310.8 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.839e-05/0.3897, allocations: 12 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.3897, allocations: 15.98 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.597e-05/0.3898, allocations: 29 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.3898, allocations: 4 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001108/0.3899, allocations: 73.52 kB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3899, allocations: 11.94 kB / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3899, allocations: 0 / 1.072 GB, free: 6.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.39, allocations: 4 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.39, allocations: 8 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.39, allocations: 0 / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.3901, allocations: 4 kB / 1.072 GB, free: 6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.3901, allocations: 3.984 kB / 1.072 GB, free: 5.996 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 7.685e-05/0.3901, allocations: 113.8 kB / 1.072 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.3902, allocations: 4.453 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.3903, allocations: 69.59 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3903, allocations: 4 kB / 1.072 GB, free: 5.789 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3903, allocations: 4 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.3904, allocations: 7.969 kB / 1.072 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.3907, allocations: 311.4 kB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3907, allocations: 0 / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.3908, allocations: 8 kB / 1.072 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3908, allocations: 4 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.3908, allocations: 4 kB / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3908, allocations: 0 / 1.072 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3908, allocations: 4.031 kB / 1.072 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.391, allocations: 192.4 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.618e-05/0.3911, allocations: 81.09 kB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.3911, allocations: 4.031 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.3912, allocations: 0 / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.123e-05/0.3912, allocations: 4 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3912, allocations: 0 / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.661e-05/0.3912, allocations: 95.27 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3912, allocations: 3.938 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002404/0.3915, allocations: 19.94 kB / 1.073 GB, free: 4.965 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.0001895/0.3917, allocations: 119.2 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.3918, allocations: 31.92 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3918, allocations: 0 / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.88e-05/0.3918, allocations: 16 kB / 1.073 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3921, allocations: 17.55 kB / 1.073 GB, free: 4.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004292/0.3925, allocations: 209.9 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.3928, allocations: 0.6809 MB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.437e-05/0.3928, allocations: 7.906 kB / 1.074 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.739e-05/0.3928, allocations: 7.438 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.3928, allocations: 4 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of Templates: time 0.002977/0.3958, allocations: 0.61 MB / 1.075 GB, free: 3.234 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)