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.001215/0.001215, allocations: 103.1 kB / 16.36 MB, free: 6.301 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.001141/0.001141, allocations: 192.5 kB / 17.29 MB, free: 5.875 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.408/1.408, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.865/1.865, allocations: 292.3 MB / 0.5496 GB, free: 17.59 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.001629/0.001629, allocations: 67.89 kB / 0.6729 GB, free: 5.855 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002678/0.2372, allocations: 1.282 MB / 0.786 GB, free: 1.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.2383, allocations: 0.611 MB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.885e-05/0.2383, allocations: 4 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.175e-05/0.2383, allocations: 0 / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.2384, allocations: 7.922 kB / 0.7866 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005669/0.239, allocations: 143.4 kB / 0.7868 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.323e-05/0.239, allocations: 23.86 kB / 0.7868 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.318e-05/0.2391, allocations: 4 kB / 0.7868 GB, free: 1.098 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.788e-05/0.2391, allocations: 7.984 kB / 0.7868 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.123e-05/0.2392, allocations: 19.92 kB / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.2392, allocations: 0 / 0.7868 GB, free: 1.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005065/0.2397, allocations: 343.3 kB / 0.7872 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.2398, allocations: 3.984 kB / 0.7872 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.507e-05/0.2398, allocations: 7.938 kB / 0.7872 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.2401, allocations: 147.6 kB / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2401, allocations: 0 / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.2401, allocations: 0 / 0.7873 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.2401, allocations: 4 kB / 0.7873 GB, free: 0.5742 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.0004918/0.2406, allocations: 359.5 kB / 0.7877 GB, free: 176 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.2406, allocations: 12.03 kB / 0.7877 GB, free: 164 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.543e-05/0.2407, allocations: 4.844 kB / 0.7877 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3611/0.6018, allocations: 166.8 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.6019, allocations: 2.688 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.945e-05/0.6019, allocations: 1.688 kB / 0.7878 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/0.6021, allocations: 37.2 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.6021, allocations: 0.9375 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.6021, allocations: 3.562 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6021, allocations: 0 / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.615e-05/0.6022, allocations: 15.77 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.6023, allocations: 157.2 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.6026, allocations: 49.31 kB / 0.7881 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.169e-05/0.6026, allocations: 15.95 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.6026, allocations: 3.594 kB / 0.7881 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.6027, allocations: 35.73 kB / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.473e-06/0.6027, allocations: 0 / 0.7881 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=6): time 0.0006272/0.6033, allocations: 311.5 kB / 0.7884 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.6033, allocations: 52.31 kB / 0.7885 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.482e-05/0.6034, allocations: 108.2 kB / 0.7886 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.6034, allocations: 26.86 kB / 0.7886 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.886e-05/0.6034, allocations: 81.98 kB / 0.7887 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/0.6035, allocations: 19.95 kB / 0.7887 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.6035, allocations: 28.84 kB / 0.7887 GB, free: 47.84 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.6036, allocations: 317.2 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.252e-05/0.6036, allocations: 9 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.6036, allocations: 14.62 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.708e-05/0.6037, allocations: 29.14 kB / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.6037, allocations: 0 / 0.7891 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 8.293e-05/0.6038, allocations: 65.41 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6038, allocations: 6.125 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.6038, allocations: 2.906 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.6038, allocations: 6.344 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.589e-05/0.6039, allocations: 9.781 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.6039, allocations: 3.875 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.6039, allocations: 0.5625 kB / 0.7892 GB, free: 47.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.6039, allocations: 5.859 kB / 0.7892 GB, free: 47.48 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.01e-05/0.604, allocations: 109.5 kB / 0.7893 GB, free: 47.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.604, allocations: 7.031 kB / 0.7893 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.6041, allocations: 78.09 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.6041, allocations: 6.906 kB / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.6041, allocations: 0 / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.6041, allocations: 0 / 0.7894 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002301/0.6044, allocations: 315.1 kB / 0.7897 GB, free: 47.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6044, allocations: 5.344 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.583e-05/0.6044, allocations: 13.02 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.6045, allocations: 3.375 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.6045, allocations: 0.5312 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.6045, allocations: 5.156 kB / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6045, allocations: 0 / 0.7897 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.6046, allocations: 182.7 kB / 0.7899 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.962e-05/0.6047, allocations: 87.67 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.6047, allocations: 3.156 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.6047, allocations: 0.5 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.6048, allocations: 7.344 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.201e-06/0.6048, allocations: 4.25 kB / 0.79 GB, free: 46.79 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.178e-05/0.6048, allocations: 83.19 kB / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.062e-06/0.6048, allocations: 0 / 0.7901 GB, free: 46.71 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002381/0.6051, allocations: 21.25 kB / 0.7901 GB, free: 46.71 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.0001598/0.6052, allocations: 121.8 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.6053, allocations: 38.19 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6053, allocations: 2.625 kB / 0.7902 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.432e-05/0.6054, allocations: 20.64 kB / 0.7903 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.6056, allocations: 10.45 kB / 0.7903 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/0.606, allocations: 221.4 kB / 0.7905 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000105/0.6061, allocations: 0.681 MB / 0.7911 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.742e-05/0.6061, allocations: 15.84 kB / 0.7912 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.6061, allocations: 0 / 0.7912 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.002059/0.6082, allocations: 0.7917 MB / 0.7919 GB, free: 45.72 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)