Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001579/0.001579, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001861/0.001861, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.338/1.338, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.182/2.182, allocations: 390.3 MB / 0.6653 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 67.14 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2975, allocations: 140.4 MB / 0.9503 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003155/0.3007, allocations: 1.271 MB / 0.9515 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3019, allocations: 0.617 MB / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.434e-05/0.302, allocations: 0 / 0.9521 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.317e-05/0.302, allocations: 11.88 kB / 0.9521 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.786e-05/0.3022, allocations: 0 / 0.9521 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007224/0.3029, allocations: 143.4 kB / 0.9523 GB, free: 6.797 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.046e-05/0.303, allocations: 23.91 kB / 0.9523 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.614e-05/0.303, allocations: 4 kB / 0.9523 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.3031, allocations: 11.88 kB / 0.9523 GB, free: 6.758 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.195e-05/0.3031, allocations: 7.984 kB / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.161e-05/0.3031, allocations: 0 / 0.9523 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005835/0.3037, allocations: 343.4 kB / 0.9526 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3038, allocations: 4 kB / 0.9526 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.3038, allocations: 7.938 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.3041, allocations: 151.9 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3041, allocations: 4 kB / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3041, allocations: 0 / 0.9528 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.3041, allocations: 4 kB / 0.9528 GB, free: 6.246 MB / 0.7325 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.0005025/0.3046, allocations: 355.4 kB / 0.9531 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3047, allocations: 16.02 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.3047, allocations: 0.9375 kB / 0.9532 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3049, allocations: 176.2 kB / 0.9533 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.3049, allocations: 4.375 kB / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.3049, allocations: 384 / 0.9533 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3051, allocations: 46.25 kB / 0.9534 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3051, allocations: 4.125 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3051, allocations: 3.938 kB / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.3051, allocations: 0 / 0.9534 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.773e-05/0.3052, allocations: 8 kB / 0.9534 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.3054, allocations: 157.7 kB / 0.9535 GB, free: 5.348 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.3056, allocations: 46.48 kB / 0.9536 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.3057, allocations: 20.86 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.3057, allocations: 0 / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3057, allocations: 34.56 kB / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.3057, allocations: 0 / 0.9536 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.000744/0.3065, allocations: 314.2 kB / 0.9539 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.3065, allocations: 51.41 kB / 0.954 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.3066, allocations: 101.9 kB / 0.9541 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3067, allocations: 25.7 kB / 0.9541 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.509e-05/0.3067, allocations: 84.14 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.553e-05/0.3067, allocations: 19.7 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.463e-05/0.3068, allocations: 25.66 kB / 0.9542 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.3069, allocations: 314.8 kB / 0.9545 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/0.307, allocations: 11.98 kB / 0.9545 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.307, allocations: 12 kB / 0.9546 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.214e-05/0.307, allocations: 36.84 kB / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3071, allocations: 0 / 0.9546 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001038/0.3072, allocations: 65.69 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.3072, allocations: 7.938 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3072, allocations: 0.5156 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3072, allocations: 0 / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.747e-05/0.3073, allocations: 19.92 kB / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3073, allocations: 240 / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.843e-05/0.3073, allocations: 0 / 0.9547 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.3073, allocations: 4 kB / 0.9547 GB, free: 4.047 MB / 0.7325 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.971e-05/0.3074, allocations: 115.8 kB / 0.9548 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.014e-05/0.3074, allocations: 11.84 kB / 0.9548 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3076, allocations: 77.61 kB / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3076, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3076, allocations: 0 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3076, allocations: 128 / 0.9549 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.308, allocations: 319.3 kB / 0.9552 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.308, allocations: 4 kB / 0.9552 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.93e-05/0.3081, allocations: 19.95 kB / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3081, allocations: 0 / 0.9552 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.3081, allocations: 8 kB / 0.9552 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.3081, allocations: 0 / 0.9552 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3081, allocations: 0 / 0.9552 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001979/0.3083, allocations: 172.3 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.3084, allocations: 89.03 kB / 0.9555 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3084, allocations: 4.062 kB / 0.9555 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3085, allocations: 4 kB / 0.9555 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.904e-05/0.3085, allocations: 3.984 kB / 0.9555 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-06/0.3085, allocations: 8 kB / 0.9555 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.762e-05/0.3086, allocations: 75.28 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.994e-06/0.3086, allocations: 0 / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002518/0.3088, allocations: 27.88 kB / 0.9556 GB, free: 3.012 MB / 0.7325 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.0002116/0.3091, allocations: 127.2 kB / 0.9557 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.3092, allocations: 39.92 kB / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3092, allocations: 0 / 0.9557 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-05/0.3092, allocations: 19.92 kB / 0.9558 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.3095, allocations: 7.938 kB / 0.9558 GB, free: 2.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004809/0.31, allocations: 226.2 kB / 0.956 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003186/0.3103, allocations: 0.6844 MB / 0.9567 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.576e-05/0.3103, allocations: 11.44 kB / 0.9567 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3103, allocations: 0 / 0.9567 GB, free: 1.836 MB / 0.7325 GB Notification: Performance of Templates: time 0.002861/0.3132, allocations: 0.7863 MB / 0.9574 GB, free: 1.055 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)