Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 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_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dp|dp_comp|der.dp.|der.dp_comp.|err_dp|err_der_dp",fileNamePrefix="Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001938/0.001938, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.00197/0.00197, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.364/1.364, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.167/2.167, allocations: 390.3 MB / 0.665 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.08 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2909, allocations: 140.4 MB / 0.9498 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.003343/0.2943, allocations: 1.535 MB / 0.9513 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00111/0.2954, allocations: 0.6267 MB / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.394e-05/0.2955, allocations: 0 / 0.9519 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.2955, allocations: 7.938 kB / 0.9519 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.2956, allocations: 0 / 0.9519 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006797/0.2963, allocations: 151.5 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000101/0.2964, allocations: 43.86 kB / 0.9521 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.2965, allocations: 4 kB / 0.9521 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.187e-05/0.2966, allocations: 23.92 kB / 0.9521 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.09e-05/0.2966, allocations: 31.89 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.568e-05/0.2966, allocations: 4 kB / 0.9521 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005324/0.2972, allocations: 351.3 kB / 0.9525 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.2972, allocations: 11.94 kB / 0.9525 GB, free: 6.473 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.2972, allocations: 27.86 kB / 0.9525 GB, free: 6.445 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.2975, allocations: 112 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2975, allocations: 4 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.2975, allocations: 0 / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2975, allocations: 0 / 0.9526 GB, free: 6.332 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006228/0.2981, allocations: 403.2 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2982, allocations: 8.031 kB / 0.953 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.004e-05/0.2982, allocations: 8.938 kB / 0.953 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.2984, allocations: 176.2 kB / 0.9532 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.809e-05/0.2984, allocations: 4.375 kB / 0.9532 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2984, allocations: 8.375 kB / 0.9532 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.2987, allocations: 86.09 kB / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2987, allocations: 192 / 0.9533 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2987, allocations: 3.938 kB / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2987, allocations: 0 / 0.9533 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.299, allocations: 55.95 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.2996, allocations: 328.6 kB / 0.9537 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.2999, allocations: 78.53 kB / 0.9537 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.3, allocations: 24.84 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.3, allocations: 8 kB / 0.9538 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.3001, allocations: 34.5 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3001, allocations: 0 / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.001709/0.3018, allocations: 0.6501 MB / 0.9544 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3018, allocations: 55.41 kB / 0.9545 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.317e-05/0.3019, allocations: 105.8 kB / 0.9546 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.302, allocations: 29.7 kB / 0.9546 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.302, allocations: 96.03 kB / 0.9547 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3022, allocations: 31.47 kB / 0.9547 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.3022, allocations: 29.7 kB / 0.9548 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.3023, allocations: 322.8 kB / 0.9551 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.3025, allocations: 23.98 kB / 0.9551 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.3026, allocations: 39.59 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.3029, allocations: 80.95 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3029, allocations: 0 / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003088/0.3032, allocations: 113.6 kB / 0.9553 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3032, allocations: 4 kB / 0.9553 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3032, allocations: 4 kB / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3032, allocations: 0 / 0.9553 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3034, allocations: 23.98 kB / 0.9554 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3034, allocations: 4 kB / 0.9554 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.602e-05/0.3035, allocations: 15.92 kB / 0.9554 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3035, allocations: 4 kB / 0.9554 GB, free: 3.207 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 (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 9.426e-05/0.3036, allocations: 121.8 kB / 0.9555 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.3036, allocations: 3.906 kB / 0.9555 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003739/0.304, allocations: 125.7 kB / 0.9556 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.304, allocations: 11.97 kB / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.304, allocations: 0 / 0.9556 GB, free: 2.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3041, allocations: 3.938 kB / 0.9556 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006647/0.3047, allocations: 382.4 kB / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3047, allocations: 0 / 0.956 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.3049, allocations: 28.06 kB / 0.956 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3049, allocations: 3.938 kB / 0.956 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.559e-05/0.3049, allocations: 11.94 kB / 0.956 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.3049, allocations: 4 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3049, allocations: 0 / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005307/0.3055, allocations: 247.3 kB / 0.9563 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.242e-05/0.3055, allocations: 85.05 kB / 0.9564 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3055, allocations: 7.938 kB / 0.9564 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3057, allocations: 7.984 kB / 0.9564 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.892e-05/0.3057, allocations: 8.062 kB / 0.9564 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3057, allocations: 11.98 kB / 0.9564 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.319e-05/0.3058, allocations: 75.28 kB / 0.9565 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3058, allocations: 0 / 0.9565 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002818/0.3061, allocations: 43.94 kB / 0.9565 GB, free: 1.938 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002407/0.3063, allocations: 135.1 kB / 0.9566 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003525/0.3067, allocations: 95.89 kB / 0.9567 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3067, allocations: 0 / 0.9567 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.3068, allocations: 47.91 kB / 0.9568 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.3072, allocations: 10.23 kB / 0.9568 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007864/0.308, allocations: 361.3 kB / 0.9571 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3083, allocations: 0.7 MB / 0.9578 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.3084, allocations: 23.42 kB / 0.9578 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.3084, allocations: 0 / 0.9578 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of Templates: time 0.003365/0.3118, allocations: 1.319 MB / 0.9591 GB, free: 15.2 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)