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.001296/0.001296, 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.002753/0.002753, allocations: 190.9 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.442/1.442, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 62.88 kB / 0.9114 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4252, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002601/0.4278, allocations: 1.347 MB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001103/0.4289, allocations: 0.6345 MB / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.429, allocations: 0 / 1.069 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.429, allocations: 4 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.456e-05/0.429, allocations: 0 / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.4295, allocations: 131.5 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.826e-05/0.4296, allocations: 27.86 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.4296, allocations: 4 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.4297, allocations: 11.98 kB / 1.07 GB, free: 8.734 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.4298, allocations: 11.94 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.4298, allocations: 7.984 kB / 1.07 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004883/0.4303, allocations: 339.3 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.111e-05/0.4303, allocations: 11.98 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.314e-05/0.4303, allocations: 15.92 kB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.4306, allocations: 148 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4306, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4306, allocations: 0 / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.371e-06/0.4306, allocations: 3.938 kB / 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004627/0.4311, allocations: 371.5 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.4311, allocations: 11.97 kB / 1.07 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.994e-05/0.4312, allocations: 8.844 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4313, allocations: 160.4 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.4313, allocations: 384 / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4314, allocations: 4.375 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.4315, allocations: 58.22 kB / 1.071 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.4315, allocations: 4.188 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.4316, allocations: 3.938 kB / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4316, allocations: 0 / 1.071 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.4316, allocations: 23.98 kB / 1.071 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002069/0.4318, allocations: 169.5 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.432, allocations: 58.56 kB / 1.071 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.48e-05/0.432, allocations: 28.84 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.432, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4321, allocations: 30.56 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.4321, allocations: 7.984 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001147/0.4332, allocations: 0.5877 MB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.4333, allocations: 55.41 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.498e-05/0.4334, allocations: 105.8 kB / 1.072 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4334, allocations: 29.7 kB / 1.072 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.4334, allocations: 84 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.4335, allocations: 43.39 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.4335, allocations: 21.72 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4337, allocations: 318.8 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.833e-05/0.4337, allocations: 16 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.046e-05/0.4337, allocations: 27.98 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.8e-05/0.4338, allocations: 55.98 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.4339, allocations: 4 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001517/0.434, allocations: 101.5 kB / 1.072 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.434, allocations: 8 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.434, allocations: 0 / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4341, allocations: 3.938 kB / 1.072 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.4342, allocations: 27.92 kB / 1.072 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.4342, allocations: 4 kB / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.352e-05/0.4342, allocations: 0 / 1.072 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4342, allocations: 0 / 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 8.427e-05/0.4343, allocations: 117.8 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.4343, allocations: 7.938 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.4345, allocations: 109.7 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.4346, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4346, allocations: 0 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4346, allocations: 96 / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.435, allocations: 354.4 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.435, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.4351, allocations: 27.94 kB / 1.073 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4351, allocations: 3.984 kB / 1.073 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.4351, allocations: 4 kB / 1.073 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4351, allocations: 7.984 kB / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4352, allocations: 0 / 1.073 GB, free: 4.797 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.4354, allocations: 211.3 kB / 1.073 GB, free: 4.574 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.4355, allocations: 89.05 kB / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.4355, allocations: 0 / 1.073 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.794e-05/0.4356, allocations: 8.047 kB / 1.073 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.4356, allocations: 7.938 kB / 1.073 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.868e-06/0.4356, allocations: 8 kB / 1.073 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.4357, allocations: 79.27 kB / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4357, allocations: 0 / 1.073 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002635/0.4359, allocations: 36 kB / 1.074 GB, free: 4.332 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.0002285/0.4362, allocations: 127.2 kB / 1.074 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4363, allocations: 75.94 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4363, allocations: 0 / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.104e-05/0.4364, allocations: 31.92 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.0002232/0.4366, allocations: 10.81 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.4372, allocations: 298.5 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.4375, allocations: 0.6888 MB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.648e-05/0.4375, allocations: 7.984 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.4376, allocations: 15.44 kB / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.4376, allocations: 0 / 1.075 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of Templates: time 0.00354/0.4411, allocations: 0.9224 MB / 1.076 GB, free: 2.141 MB / 0.8262 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)