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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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="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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 108.1 kB / 16.36 MB, free: 5.961 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.001067/0.001067, allocations: 194.7 kB / 17.3 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.1 MB / 223.2 MB, free: 12.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001436/0.001436, allocations: 71.91 kB / 0.6729 GB, free: 5.887 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2098, allocations: 114.5 MB / 0.7848 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002456/0.2123, allocations: 1.283 MB / 0.786 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.2133, allocations: 0.6033 MB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.2133, allocations: 0 / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.023e-05/0.2134, allocations: 3.938 kB / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.482e-05/0.2134, allocations: 0 / 0.7866 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.214, allocations: 159.4 kB / 0.7868 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.322e-05/0.2141, allocations: 23.8 kB / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2141, allocations: 0 / 0.7868 GB, free: 1.133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.2142, allocations: 15.98 kB / 0.7868 GB, free: 1.117 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 4.811e-05/0.2142, allocations: 7.938 kB / 0.7868 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.2142, allocations: 4 kB / 0.7868 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005236/0.2148, allocations: 343.3 kB / 0.7872 GB, free: 0.7695 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2148, allocations: 8 kB / 0.7872 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.678e-05/0.2148, allocations: 11.92 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.2151, allocations: 143.7 kB / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2151, allocations: 0 / 0.7873 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2151, allocations: 3.938 kB / 0.7873 GB, free: 0.6055 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2151, allocations: 0 / 0.7873 GB, free: 0.6055 MB / 0.6544 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.0003828/0.2155, allocations: 359.4 kB / 0.7877 GB, free: 208 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2155, allocations: 16.03 kB / 0.7877 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.2156, allocations: 8.781 kB / 0.7877 GB, free: 184 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3134/0.529, allocations: 160.4 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.529, allocations: 2.062 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5291, allocations: 3.375 kB / 0.7878 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.5292, allocations: 37.42 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.5292, allocations: 2.281 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5292, allocations: 2 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.5292, allocations: 3.812 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.32e-05/0.5293, allocations: 14.3 kB / 0.7879 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001382/0.5294, allocations: 159 kB / 0.7881 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.5296, allocations: 47.88 kB / 0.7881 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.034e-05/0.5296, allocations: 18.03 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.5297, allocations: 3.406 kB / 0.7881 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.432e-05/0.5297, allocations: 36 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.5297, allocations: 0 / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0005214/0.5302, allocations: 301.6 kB / 0.7884 GB, free: 48.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.5303, allocations: 55.62 kB / 0.7885 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.214e-05/0.5303, allocations: 102.4 kB / 0.7886 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.967e-06/0.5303, allocations: 30.23 kB / 0.7886 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.447e-05/0.5303, allocations: 80.64 kB / 0.7887 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.5304, allocations: 23.45 kB / 0.7887 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.5304, allocations: 20.28 kB / 0.7887 GB, free: 47.75 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.5305, allocations: 323.2 kB / 0.789 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.5305, allocations: 9.125 kB / 0.7891 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.027e-05/0.5305, allocations: 14.31 kB / 0.7891 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.5306, allocations: 31.02 kB / 0.7891 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.5306, allocations: 0 / 0.7891 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.611e-05/0.5307, allocations: 68.23 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.5307, allocations: 6.031 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5307, allocations: 0 / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5307, allocations: 3.938 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.234e-05/0.5308, allocations: 15.02 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.5308, allocations: 2.938 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.857e-05/0.5308, allocations: 1.344 kB / 0.7892 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.5308, allocations: 0.8438 kB / 0.7892 GB, free: 47.39 MB / 0.6544 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 5.846e-05/0.5309, allocations: 116.6 kB / 0.7893 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.5309, allocations: 8.312 kB / 0.7893 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.5311, allocations: 72.39 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.5311, allocations: 7.062 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.5311, allocations: 0.6562 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5311, allocations: 2.109 kB / 0.7894 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.5313, allocations: 310.3 kB / 0.7897 GB, free: 46.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.5313, allocations: 10.62 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.5314, allocations: 12.48 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5314, allocations: 2.469 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.5314, allocations: 0.5938 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5314, allocations: 5.062 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5314, allocations: 1.031 kB / 0.7897 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.5315, allocations: 178.1 kB / 0.7899 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.594e-05/0.5316, allocations: 87.73 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.5316, allocations: 3.672 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.567e-05/0.5317, allocations: 3 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.5317, allocations: 7.312 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.5317, allocations: 0.5 kB / 0.79 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.5317, allocations: 87.98 kB / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9.01e-07/0.5317, allocations: 0 / 0.7901 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002486/0.532, allocations: 22.16 kB / 0.7901 GB, free: 46.62 MB / 0.6544 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.000143/0.5321, allocations: 116.8 kB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.597e-05/0.5322, allocations: 33.56 kB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.5323, allocations: 2.625 kB / 0.7902 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.581e-05/0.5323, allocations: 19.75 kB / 0.7903 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002178/0.5325, allocations: 9.562 kB / 0.7903 GB, free: 46.53 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.5329, allocations: 202.9 kB / 0.7905 GB, free: 46.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.973e-05/0.533, allocations: 0.6774 MB / 0.7911 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.872e-05/0.533, allocations: 11.17 kB / 0.7911 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.533, allocations: 10.62 kB / 0.7911 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.533, allocations: 0 / 0.7911 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of Templates: time 0.002676/0.5357, allocations: 0.6498 MB / 0.7918 GB, free: 45.68 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)