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.001001/0.001001, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.008311/0.008311, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.426/1.426, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005417/0.0005418, allocations: 14.7 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4182, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001837/0.4201, allocations: 1.001 MB / 1.075 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.4214, allocations: 0.6191 MB / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.819e-05/0.4215, allocations: 0 / 1.076 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.4215, allocations: 3.938 kB / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.721e-05/0.4216, allocations: 0 / 1.076 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.4223, allocations: 131.6 kB / 1.076 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.188e-05/0.4224, allocations: 15.94 kB / 1.076 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.088e-05/0.4224, allocations: 7.984 kB / 1.076 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.355e-05/0.4225, allocations: 11.94 kB / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.4226, allocations: 0 / 1.076 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.4226, allocations: 4 kB / 1.076 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005788/0.4232, allocations: 347.2 kB / 1.076 GB, free: 5.406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.4232, allocations: 3.984 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.088e-05/0.4232, allocations: 37.64 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003031/0.4236, allocations: 144 kB / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4236, allocations: 0 / 1.076 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.879e-06/0.4236, allocations: 4 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.4236, allocations: 4 kB / 1.076 GB, free: 5.211 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.0004641/0.4241, allocations: 363.3 kB / 1.077 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.4241, allocations: 8.031 kB / 1.077 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.4242, allocations: 8.844 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.4243, allocations: 160.4 kB / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4243, allocations: 384 / 1.077 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.4244, allocations: 8.312 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4245, allocations: 38.25 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.4245, allocations: 192 / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.4245, allocations: 7.938 kB / 1.077 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.4245, allocations: 4 kB / 1.077 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.631e-05/0.4246, allocations: 11.98 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001966/0.4248, allocations: 157.7 kB / 1.077 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.425, allocations: 42.5 kB / 1.077 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.4251, allocations: 16.86 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.4251, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.4251, allocations: 34.56 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.4251, allocations: 0 / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0007287/0.4259, allocations: 306.2 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4259, allocations: 55.41 kB / 1.078 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.278e-05/0.426, allocations: 102.2 kB / 1.078 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.426, allocations: 25.7 kB / 1.078 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/0.4261, allocations: 84.14 kB / 1.078 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.4261, allocations: 23.7 kB / 1.078 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.4262, allocations: 13.72 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4263, allocations: 310.8 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.681e-05/0.4263, allocations: 15.98 kB / 1.078 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.638e-05/0.4263, allocations: 15.98 kB / 1.078 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.946e-05/0.4264, allocations: 32.8 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.4264, allocations: 0 / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001015/0.4265, allocations: 61.75 kB / 1.078 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.4266, allocations: 17.03 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.4266, allocations: 4 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.4266, allocations: 0 / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.4266, allocations: 15.92 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.4267, allocations: 4.234 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.4267, allocations: 0 / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.4267, allocations: 0 / 1.078 GB, free: 3.027 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 9.092e-05/0.4268, allocations: 117.8 kB / 1.078 GB, free: 2.902 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.655e-05/0.4268, allocations: 7.844 kB / 1.078 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.427, allocations: 77.62 kB / 1.078 GB, free: 2.809 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.427, allocations: 7.938 kB / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.427, allocations: 0 / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.427, allocations: 0 / 1.078 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.4274, allocations: 311.4 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.4274, allocations: 0 / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.73e-05/0.4275, allocations: 15.98 kB / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.4275, allocations: 0 / 1.079 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.4275, allocations: 8.031 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.4275, allocations: 0 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.4275, allocations: 7.938 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.4277, allocations: 168.3 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.598e-05/0.4278, allocations: 93.03 kB / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.4278, allocations: 0 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.99e-05/0.4279, allocations: 192 / 1.079 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.4279, allocations: 12.05 kB / 1.079 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.713e-06/0.4279, allocations: 4 kB / 1.079 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.428, allocations: 83.28 kB / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.428, allocations: 0 / 1.079 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002508/0.4282, allocations: 19.94 kB / 1.079 GB, free: 1.996 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.0002044/0.4284, allocations: 127.2 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.4286, allocations: 27.98 kB / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4286, allocations: 0 / 1.079 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.152e-05/0.4286, allocations: 27.92 kB / 1.079 GB, free: 1.809 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.4289, allocations: 11.94 kB / 1.079 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004901/0.4294, allocations: 221.8 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/0.4297, allocations: 0.6809 MB / 1.08 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.4297, allocations: 4 kB / 1.08 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.206e-05/0.4297, allocations: 11.44 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of SimCode: time 4.71e-07/0.4297, allocations: 0 / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of Templates: time 0.003217/0.433, allocations: 0.6125 MB / 1.081 GB, free: 252 kB / 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)