Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.234/2.234, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 191.4 kB / 499.1 MB, free: 4.672 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.557/1.557, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 97.73 kB / 0.9329 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 54.38 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3077, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002325/0.3101, allocations: 1.323 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0009351/0.311, allocations: 0.6353 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.726e-05/0.311, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 2.365e-05/0.3111, allocations: 0 / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.196e-05/0.3111, allocations: 7.922 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004354/0.3116, allocations: 119.6 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.3116, allocations: 19.92 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.019e-05/0.3117, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.3117, allocations: 4 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.491e-05/0.3118, allocations: 15.91 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.3118, allocations: 0 / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003962/0.3122, allocations: 339.3 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.3122, allocations: 7.984 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 2.62e-05/0.3123, allocations: 7.938 kB / 1.221 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3125, allocations: 149.7 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3125, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.422e-06/0.3125, allocations: 4 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.3125, allocations: 0 / 1.221 GB, free: 114.6 MB / 0.823 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.000386/0.3129, allocations: 360.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.313, allocations: 11.98 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.313, allocations: 4.922 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.5e-05/0.3131, allocations: 172.3 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.3131, allocations: 8.375 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3131, allocations: 384 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.3133, allocations: 50.19 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3133, allocations: 192 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3133, allocations: 3.938 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.3133, allocations: 0 / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.75e-05/0.3133, allocations: 11.94 kB / 1.221 GB, free: 113.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.3135, allocations: 157.7 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001793/0.3137, allocations: 42.61 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.3137, allocations: 20.94 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.3137, allocations: 4 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.3138, allocations: 34.5 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3138, allocations: 3.938 kB / 1.222 GB, free: 113.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0005485/0.3143, allocations: 310.1 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.3144, allocations: 59.39 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.3144, allocations: 93.86 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.486e-06/0.3145, allocations: 33.7 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 1.901e-05/0.3145, allocations: 80.14 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3145, allocations: 19.73 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/0.3145, allocations: 21.72 kB / 1.222 GB, free: 112.9 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.812e-05/0.3146, allocations: 310.8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.294e-05/0.3146, allocations: 15.98 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.3147, allocations: 8 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.177e-05/0.3147, allocations: 28.86 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.3147, allocations: 7.938 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.318e-05/0.3148, allocations: 73.58 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3148, allocations: 7.938 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3148, allocations: 0.5156 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3149, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.7e-05/0.3149, allocations: 11.98 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.391e-06/0.3149, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.809e-05/0.3149, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-06/0.315, allocations: 4 kB / 1.223 GB, free: 112.4 MB / 0.823 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 5.296e-05/0.315, allocations: 114.5 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.119e-05/0.315, allocations: 7.938 kB / 1.223 GB, free: 112.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3152, allocations: 81.78 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.3152, allocations: 128 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3152, allocations: 4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3152, allocations: 0 / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002361/0.3154, allocations: 315.4 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3154, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.3155, allocations: 12.02 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3155, allocations: 7.938 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3155, allocations: 8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3155, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3155, allocations: 0 / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005746/0.3161, allocations: 1.012 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.3162, allocations: 85 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.3162, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/0.3162, allocations: 4 kB / 1.224 GB, free: 110.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.939e-05/0.3163, allocations: 15.86 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.3163, allocations: 0 / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.3163, allocations: 83.22 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3163, allocations: 4.094 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000293/0.3166, allocations: 24 kB / 1.224 GB, free: 110.4 MB / 0.823 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.0001793/0.3168, allocations: 123.3 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 9.074e-05/0.3169, allocations: 35.98 kB / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3169, allocations: 0 / 1.224 GB, free: 110.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.3169, allocations: 23.92 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3171, allocations: 6.672 kB / 1.224 GB, free: 110.2 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.3176, allocations: 316.9 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.3177, allocations: 0.6887 MB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.3177, allocations: 7.984 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.459e-05/0.3177, allocations: 11.44 kB / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.3178, allocations: 0 / 1.225 GB, free: 109.2 MB / 0.823 GB Notification: Performance of Templates: time 0.002653/0.3204, allocations: 0.6315 MB / 1.226 GB, free: 108.6 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)