Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp",fileNamePrefix="Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007228/0.007227, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001927/0.001927, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.502/2.502, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5837/0.5851, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00268/0.5878, allocations: 1.355 MB / 1.019 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.589, allocations: 0.6268 MB / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.5891, allocations: 0 / 1.019 GB, free: 0.8008 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.5891, allocations: 4 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.672e-05/0.5892, allocations: 3.984 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.5898, allocations: 124.7 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.182e-05/0.5898, allocations: 23.84 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.5899, allocations: 4 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.006e-05/0.5899, allocations: 8 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.279e-05/0.59, allocations: 11.92 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.59, allocations: 0 / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005288/0.5905, allocations: 347.3 kB / 1.02 GB, free: 292 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.367e-05/0.5906, allocations: 11.94 kB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.547e-05/0.5906, allocations: 7.938 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.5908, allocations: 97.78 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5908, allocations: 4 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5908, allocations: 0 / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.5908, allocations: 4 kB / 1.02 GB, free: 168 kB / 0.7637 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.0004392/0.5913, allocations: 355.5 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.5913, allocations: 8.031 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.5914, allocations: 0.9375 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.5915, allocations: 176.3 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.5915, allocations: 384 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.5916, allocations: 4.281 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.5917, allocations: 46.19 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.5917, allocations: 192 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.5917, allocations: 3.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5917, allocations: 0 / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.364e-05/0.5918, allocations: 12 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.592, allocations: 153.7 kB / 1.021 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.5922, allocations: 50.55 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.641e-05/0.5922, allocations: 20.94 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.5923, allocations: 3.938 kB / 1.021 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.5923, allocations: 34.56 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.5923, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.000676/0.593, allocations: 302.2 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.593, allocations: 51.41 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.762e-05/0.5931, allocations: 102.2 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.5931, allocations: 25.7 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.5932, allocations: 84.14 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.5932, allocations: 23.64 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.5932, allocations: 25.7 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.5934, allocations: 310.8 kB / 1.022 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.5934, allocations: 15.98 kB / 1.022 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.5934, allocations: 12 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.5935, allocations: 36.8 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.5935, allocations: 0 / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001029/0.5936, allocations: 65.83 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.5936, allocations: 9.969 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.5937, allocations: 192 / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.5937, allocations: 3.938 kB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.562e-05/0.5937, allocations: 15.98 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5937, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.5938, allocations: 7.984 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.5938, allocations: 4 kB / 1.022 GB, free: 13.97 MB / 0.7794 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 8.411e-05/0.5939, allocations: 114.3 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.5939, allocations: 11.84 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001518/0.5941, allocations: 73.7 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.5941, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.5941, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5941, allocations: 0 / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003313/0.5944, allocations: 323.3 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.5944, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.217e-05/0.5945, allocations: 8 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5945, allocations: 0 / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5945, allocations: 7.984 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5945, allocations: 3.938 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5945, allocations: 0 / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.5947, allocations: 180.3 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.278e-05/0.5948, allocations: 89.03 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.5948, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.5949, allocations: 8 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.767e-05/0.5949, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-06/0.5949, allocations: 4 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.771e-05/0.595, allocations: 79.27 kB / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.595, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000261/0.5953, allocations: 28.06 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0002075/0.5955, allocations: 123.2 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.5956, allocations: 35.92 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5956, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.091e-05/0.5956, allocations: 16 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5959, allocations: 9.953 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.5963, allocations: 228.2 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.5966, allocations: 0.6848 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.5967, allocations: 11.38 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.5967, allocations: 4 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of Templates: time 0.002463/0.5991, allocations: 0.7838 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)