Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.3 MB / 308.1 MB, free: 4.289 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.001525/0.001525, allocations: 188.5 kB / 376.9 MB, free: 1.836 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.493/1.493, allocations: 205.1 MB / 0.6354 GB, free: 9.797 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.0009948/0.0009948, allocations: 99.48 kB / 0.748 GB, free: 61.15 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001125/0.001125, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2271, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002627/0.2298, allocations: 1.351 MB / 0.9835 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009916/0.2308, allocations: 0.6422 MB / 0.9842 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.892e-05/0.2308, allocations: 4 kB / 0.9842 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.989e-05/0.2309, allocations: 0 / 0.9842 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.617e-05/0.2309, allocations: 3.938 kB / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005425/0.2315, allocations: 127.6 kB / 0.9843 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.2315, allocations: 27.92 kB / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.525e-05/0.2316, allocations: 0 / 0.9843 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.389e-05/0.2316, allocations: 15.94 kB / 0.9843 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.2317, allocations: 15.92 kB / 0.9844 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.2317, allocations: 7.984 kB / 0.9844 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004853/0.2322, allocations: 343.3 kB / 0.9847 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.376e-05/0.2322, allocations: 3.984 kB / 0.9847 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.2322, allocations: 15.92 kB / 0.9847 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002583/0.2325, allocations: 151.9 kB / 0.9849 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2325, allocations: 0 / 0.9849 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.81e-07/0.2325, allocations: 0 / 0.9849 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.166e-06/0.2325, allocations: 0 / 0.9849 GB, free: 7.688 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003816/0.2329, allocations: 371.4 kB / 0.9852 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.2329, allocations: 8.031 kB / 0.9852 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.233, allocations: 8.938 kB / 0.9852 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2331, allocations: 164.3 kB / 0.9854 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2331, allocations: 4.375 kB / 0.9854 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.2331, allocations: 8.375 kB / 0.9854 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.2333, allocations: 54.16 kB / 0.9854 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.2333, allocations: 4.094 kB / 0.9854 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/0.2333, allocations: 7.938 kB / 0.9855 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2333, allocations: 0 / 0.9855 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.118e-05/0.2334, allocations: 19.98 kB / 0.9855 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.2336, allocations: 165.7 kB / 0.9856 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.2337, allocations: 54.56 kB / 0.9857 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.468e-05/0.2337, allocations: 36.72 kB / 0.9857 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2337, allocations: 0 / 0.9857 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.2338, allocations: 38.56 kB / 0.9858 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.2338, allocations: 3.984 kB / 0.9858 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.001087/0.2349, allocations: 0.584 MB / 0.9863 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.2349, allocations: 51.41 kB / 0.9864 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/0.235, allocations: 97.86 kB / 0.9865 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.235, allocations: 29.64 kB / 0.9865 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.926e-05/0.2351, allocations: 92.25 kB / 0.9866 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.183e-05/0.2351, allocations: 35.41 kB / 0.9866 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.2352, allocations: 29.7 kB / 0.9866 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2353, allocations: 314.8 kB / 0.9869 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.763e-05/0.2354, allocations: 23.98 kB / 0.987 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.681e-05/0.2354, allocations: 23.98 kB / 0.987 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.902e-05/0.2355, allocations: 56.8 kB / 0.987 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2355, allocations: 0 / 0.987 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001512/0.2357, allocations: 113.5 kB / 0.9872 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2357, allocations: 4 kB / 0.9872 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2357, allocations: 0 / 0.9872 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.2357, allocations: 0 / 0.9872 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.961e-05/0.2358, allocations: 20 kB / 0.9872 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2358, allocations: 0 / 0.9872 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.457e-05/0.2359, allocations: 3.984 kB / 0.9872 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.2359, allocations: 4 kB / 0.9872 GB, free: 4.98 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 (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 8.148e-05/0.236, allocations: 117.8 kB / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.489e-05/0.236, allocations: 11.94 kB / 0.9873 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.2362, allocations: 109.5 kB / 0.9874 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.2362, allocations: 0 / 0.9874 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2362, allocations: 0 / 0.9874 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.2362, allocations: 3.984 kB / 0.9874 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/0.2366, allocations: 350.5 kB / 0.9878 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.2366, allocations: 3.984 kB / 0.9878 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.727e-05/0.2367, allocations: 16 kB / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2367, allocations: 96 / 0.9878 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.2367, allocations: 15.94 kB / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.2367, allocations: 0 / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2367, allocations: 0 / 0.9878 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/0.239, allocations: 1.314 MB / 0.9891 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.732e-05/0.2391, allocations: 85.02 kB / 0.9892 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.2391, allocations: 4.031 kB / 0.9892 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.605e-05/0.2392, allocations: 11.86 kB / 0.9892 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2392, allocations: 8 kB / 0.9892 GB, free: 2.695 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.2393, allocations: 8.094 kB / 0.9892 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.266e-05/0.2393, allocations: 79.27 kB / 0.9893 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2393, allocations: 3.938 kB / 0.9893 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003308/0.2396, allocations: 36 kB / 0.9893 GB, free: 2.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0002223/0.2399, allocations: 135.2 kB / 0.9894 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.24, allocations: 63.91 kB / 0.9895 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.24, allocations: 0 / 0.9895 GB, free: 2.367 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.2401, allocations: 44.02 kB / 0.9895 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.2403, allocations: 0.9375 kB / 0.9895 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.2409, allocations: 433.3 kB / 0.9899 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2412, allocations: 0.6926 MB / 0.9906 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.761e-05/0.2412, allocations: 15.92 kB / 0.9906 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.2412, allocations: 15.42 kB / 0.9906 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.2412, allocations: 0 / 0.9906 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of Templates: time 0.00303/0.2443, allocations: 0.9562 MB / 0.9916 GB, free: 160 kB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)