Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.3 MB / 308.1 MB, free: 4.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 187.9 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009716/0.0009719, allocations: 106.3 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.003024/0.2313, allocations: 1.337 MB / 0.9835 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.2325, allocations: 0.6306 MB / 0.9841 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.2326, allocations: 3.938 kB / 0.9842 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.127e-05/0.2326, allocations: 0 / 0.9842 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.387e-05/0.2327, allocations: 11.92 kB / 0.9842 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005924/0.2333, allocations: 127.6 kB / 0.9843 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.743e-05/0.2333, allocations: 15.92 kB / 0.9843 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.2334, allocations: 4 kB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.2334, allocations: 15.94 kB / 0.9843 GB, free: 8.242 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.476e-05/0.2335, allocations: 3.984 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.2335, allocations: 4 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005253/0.234, allocations: 343.3 kB / 0.9847 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.2341, allocations: 4 kB / 0.9847 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.2341, allocations: 7.938 kB / 0.9847 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.2344, allocations: 151.9 kB / 0.9848 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2344, allocations: 4 kB / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2344, allocations: 0 / 0.9848 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.2344, allocations: 0 / 0.9848 GB, free: 7.734 MB / 0.7136 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.0004813/0.2349, allocations: 363.4 kB / 0.9852 GB, free: 7.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.235, allocations: 8.031 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.235, allocations: 0.9375 kB / 0.9852 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.2351, allocations: 168.4 kB / 0.9853 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2352, allocations: 4.375 kB / 0.9853 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.2352, allocations: 4.375 kB / 0.9853 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.2353, allocations: 42.19 kB / 0.9854 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.2353, allocations: 4.125 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2354, allocations: 11.94 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2354, allocations: 0 / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.801e-05/0.2354, allocations: 8 kB / 0.9854 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.2356, allocations: 161.6 kB / 0.9856 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.2358, allocations: 46.61 kB / 0.9856 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.724e-05/0.2358, allocations: 20.88 kB / 0.9856 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.69e-05/0.2359, allocations: 4 kB / 0.9856 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.2359, allocations: 34.56 kB / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.2359, allocations: 0 / 0.9857 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0007168/0.2366, allocations: 310.2 kB / 0.986 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.2367, allocations: 55.41 kB / 0.986 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.857e-05/0.2368, allocations: 93.84 kB / 0.9861 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.2368, allocations: 33.7 kB / 0.9861 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.2368, allocations: 80.14 kB / 0.9862 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2369, allocations: 19.66 kB / 0.9862 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2369, allocations: 29.69 kB / 0.9863 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2371, allocations: 314.8 kB / 0.9866 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.783e-05/0.2371, allocations: 12 kB / 0.9866 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.2371, allocations: 7.984 kB / 0.9866 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.886e-05/0.2372, allocations: 36.8 kB / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.2372, allocations: 0 / 0.9866 GB, free: 5.633 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.668e-05/0.2373, allocations: 61.69 kB / 0.9867 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2373, allocations: 11.94 kB / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2373, allocations: 0 / 0.9867 GB, free: 5.555 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.2374, allocations: 4 kB / 0.9867 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.2374, allocations: 15.98 kB / 0.9867 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2374, allocations: 240 / 0.9867 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.2375, allocations: 0 / 0.9867 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.2375, allocations: 7.984 kB / 0.9867 GB, free: 5.527 MB / 0.7136 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.593e-05/0.2376, allocations: 113.8 kB / 0.9868 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.473e-05/0.2376, allocations: 11.94 kB / 0.9868 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.2377, allocations: 73.64 kB / 0.9869 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2377, allocations: 0 / 0.9869 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2377, allocations: 0 / 0.9869 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2378, allocations: 0 / 0.9869 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003586/0.2381, allocations: 323.4 kB / 0.9872 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2381, allocations: 4 kB / 0.9872 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.972e-05/0.2382, allocations: 8 kB / 0.9872 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.2382, allocations: 0 / 0.9872 GB, free: 4.926 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.2382, allocations: 7.984 kB / 0.9872 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2382, allocations: 4.031 kB / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2382, allocations: 0 / 0.9872 GB, free: 4.914 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.2391, allocations: 1.028 MB / 0.9882 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.2392, allocations: 81.09 kB / 0.9883 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.2392, allocations: 4 kB / 0.9883 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.977e-05/0.2393, allocations: 0 / 0.9883 GB, free: 3.648 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.2393, allocations: 7.875 kB / 0.9883 GB, free: 3.641 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/0.2393, allocations: 8 kB / 0.9883 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.2394, allocations: 83.27 kB / 0.9884 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.2394, allocations: 0 / 0.9884 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003253/0.2397, allocations: 23.94 kB / 0.9884 GB, free: 3.527 MB / 0.7136 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.000201/0.2399, allocations: 123.3 kB / 0.9885 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.24, allocations: 31.98 kB / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.24, allocations: 0 / 0.9886 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.2401, allocations: 15.94 kB / 0.9886 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.2403, allocations: 14.09 kB / 0.9886 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004849/0.2408, allocations: 320.9 kB / 0.9889 GB, free: 2.98 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.241, allocations: 0.6848 MB / 0.9896 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.016e-05/0.2411, allocations: 11.98 kB / 0.9896 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.788e-05/0.2411, allocations: 11.44 kB / 0.9896 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2411, allocations: 0 / 0.9896 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of Templates: time 0.002729/0.2438, allocations: 0.6526 MB / 0.9902 GB, free: 1.594 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)